If I have a .h file (let’s call it test.h) that contains:
#define SOME_VAL 255
…and my extconf.rb file contains:
…and the source file (let’s call it test.c) contains:
…shouldn’t the test.c file now be able to see the SOME_VAL constant?
e.g. char buf[SOME_VAL];
In my own testing, it doesn’t seem to be able to see it. I’ll get “first
use this function” errors.
Thanks in advance for any help.