slang-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Generating ruby bindings to s-lang using swig


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

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]