I am able to load several c .so files using ctypes
import ctypes$
rom ctypes import cdll, CDLL$
lib1 = CDLL('/usr/local/lib/libnanomsg.so', mode = ctypes.RTLD_GLOBAL)
lib2 = CDLL('/usr/local/lib/libnng.so', mode = ctypes.RTLD_GLOBAL)
lib3 = CDLL('/usr/local/lib/libmything.so', mode = ctypes.RTLD_GLOBAL)
And I am able to access methods like
lib3.SomeFunc()
In the C code I am trying to mimic, there is an import of a header file, that defines some constants:
#include <mything/mything.h>
SomeFunc(SOME_CONSTANT) // defined in mything.h
What is the equivalent functionality to "load" this header file in Python so that I can access it?