Page 1 of 1

Import global variable from static lib?

Posted: Sun Feb 16, 2025 11:33 am
by Justin
If a C static library declares a variable like this:

Code: Select all

extern void* foo;
Can be imported by PB?, this does not seem to work but i remember some code doing something similar

Code: Select all

ImportC "lib.a"
	foo.i
endimport
debug foo ;linker error