drwhut/decision

Fix warnings about C function pointers being converted to data pointers.

Closed this issue · 0 comments

With the -pedantic flag, gcc throws a hissy fit that doing this "isn't part of the ISO C Standard".

Instead of directly putting the function pointer in the text section, maybe put a pointer to the CFunction struct instead?