I’m trying to use a C library in Julia. As part of it, I need/would like to access some variables / “functions” that are defined like so:
#define FOO 1 #define BAR(a,b) (int)(a+b)
ccall give me errors like “could not load symbol” and and “could not find function”. They work for ‘actual’ functions in the library.
Is it just not possible to access these values?
Sorry if it’s a silly question - I really don’t know what I’m doing when it comes to C.