« Return to Thread: Most trivial example - failure

Re: Most trivial example - failure

by Smith Jack (Ext. - UGIS - UniCredit Group) :: Rate this Message:

Reply to Author | View in Thread

>
> > > As
> > > David mentioned all the SWIG directives begin with %, so
> just don't
> > > use anything starting with % if you are thinking of defining any
> > > macros.
> >
> > OK, good suggestion, but it doesn't help at all since I had no idea
> > until I execute SWIG whether or not my choice of tokens is
> a reserved
> > word or not, and then I get a cryptic error, and am left wondering
> > what I've done wrong.
>
> okay let's pick a word at random: "garbage". Is this a SWIG
> reserved word? Of course not, because it is not a C/C++
> keyword and it doesn't start with %.

So I know it's not a SWIG reserved word if it's not a C/C++ keyword ?

I can tell I am not explaining myself correctly, let me try again.

There appears to be no definitive list of SWIG directives.
Furthermore there seems to be no definition of the 'arguments' (required
or optional) to those directives, nor is there a concise definition for
what many (most) of the directives do.

As a simple example consider the %modules directive.  Where is the list
of possible 'arguments' to this directive.  I know that such arguments
exist, since I know of one such argument strictly by chance, it is the
'directors' argument, itself completely undocumented (from what I can
tell anyway?)  Where is the %modules directive itself explained (other
than in a tautology)

If I am wrong, a pointer would be greatly appreciated

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: Most trivial example - failure