Using template help.

Hugh Sorby <[email protected]>
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
Hi All,


I have created a simple application to illustrate the issue that I am currently having here:


https://github.com/hsorby/happy_test

Currently the code works as expected but I have the `ExpressionPair` declared in the wrong file.

In the current state `ExpressionPair` is declared in `happy.py` but I want it declared in `projecttypes.py`.
However if I comment out line 11 in `happy.i` and uncomment line 15 in `projecttypes.i` the code does not work.

Is somebody able to explain what is going on in this case. Further if you could also explain if I can or cannot define `ExpressionPair` in `projecttypes.py` in this manner.

Many thanks,
Hugh.

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.