Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Randdalf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
Randdalf
9y ago
I've found using a macro makes function pointers really easy. Learnt this from Handmade Hero: #define SOME_FUNCTION(name) void name(int Arg0, float Arg1) typedef SOME_FUNCTION(some_function); SOME_FUNCTION(SomeFunction) {