From: varungupta <var...@gm...> - 2013-10-17 11:03:21
|
I am new to swig and I am trying to convert c++ API's into python. I have written interface file for one .cpp file i.e given below %module example > %{ > #include "oaBuildDef.h" > #include "oaDesignDBTypesPvt.h" > #include "oaBoundary.inl" > #include "oaOccShapeV.h" > #include "oaBuildInfo.inl" > #include "oaGroup.inl" > %} > %include "oaBuildDef.h" > %include "oaDesignDBTypesPvt.h" > %include "oaBoundary.inl" > %include "oaOccShapeV.h" > %include "oaBuildInfo.inl" > %include "oaGroup.inl" > Error I am getting is oaDesignDBTypesPvt.h:54: Error: Syntax error in > input(1).* I have ckecked line 54 in oaDesignDBTypesPvt.h and function given below is defined there enum oaObjectDomainModTypeEnum { oacAddToBlockDomainModType = 4, oacAddToModDomainModType = 5, oacAddToOccDomainModType = 6, oacRemoveFromBlockDomainModType = 7, oacRemoveFromModDomainModType = 8, oacRemoveFromOccDomainModType = 9 }; Please suggest what should I do? Should I add this in interface file, if yes then how? Please give proper explanation -- View this message in context: http://swig.10945.n7.nabble.com/Error-Syntax-error-in-input-1-tp13470.html Sent from the swig-user mailing list archive at Nabble.com. |