Thank you. So there shouldn't be any big problems writing a glue then, as long as I do extern "C" in the correct places and try to ensure that no exceptions are left unhandled...
/ Marcus Agehall (nu med semester)
Previous text:
2004-07-15 12:01: Subject: Glue for C++ libs
All #include's of pike header files must be within extern "C" { };. C++ doesn't differ between the tag name space and the ordinary name space. This makes code like
struct lex { char *pos; char *end; INT32 current_line; INT32 pragmas; struct pike_string *current_file; int (*current_lexer)(YYSTYPE *); };
extern struct lex lex;
not work, unless C++ has been fixed since I looked at it last.
AFAIK, there are no such modules right now.
/ Henrik Grubbström (Lysator)