Accessing #define's with import?

Q&A's, tips, howto's
Locked
methodic
Posts: 58
Joined: Tue May 10, 2005 5:04 am

Accessing #define's with import?

Post by methodic »

Hi, is there a way to import or use #define's from a library?

Thanks!

itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

Re: Accessing #define's with import?

Post by itistoday »

No way to do this from the library itself as it doesn't contain that information.

If you have the source to the library and are ambitious though you can write a script to parse the header file... But usually you just find the constants you want and define them yourself.
Get your Objective newLISP groove on.

Locked