newLISP Fan Club

Forum => newLISP in the real world => Topic started by: methodic on December 11, 2009, 12:28:26 PM

Title: Accessing #define's with import?
Post by: methodic on December 11, 2009, 12:28:26 PM
Hi, is there a way to import or use #define's from a library?



Thanks!
Title: Re: Accessing #define's with import?
Post by: itistoday on December 11, 2009, 09:34:11 PM
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.