[slang-users] Generating ruby bindings to s-lang using swig
Jacob Grydholt Jensen
grydholt at gmail.com
Tue Aug 22 17:57:13 EDT 2006
I hate to reply to my own post, but I think I left out some important
information:
> /usr/local/include/slang.h:523: Warning(314): 'next' is a ruby
> keyword, and it will renamed as 'C_next'
> /usr/local/include/slang.h:539: Error: Syntax error in input(1).
> /usr/local/include/slang.h:1432: Warning(454): Setting a
> pointer/reference variable may leak memory.
So swig does not like line 539. The slang.h file lines 538 - 545:
typedef SLCONST struct _pSLang_CStruct_Field_Type /* a g++ bug?? yuk*/
{
char *field_name;
unsigned int offset;
SLtype type;
unsigned char read_only;
}
SLang_CStruct_Field_Type;
I know it is a long shot, but could the cause of the comment above
have anything to do with the error I see?
--
/grydholt
More information about the slang-users-l
mailing list