Commit Graph
23 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro 76473105e5 Python: use hash() as temporary workaround to check if two objects with different wrappers are underneath the same. 2008-08-01 23:11:42 +01:00
Mathieu Lacage 179b69e9d3 bug 252: make python bindings compile 2008-07-28 08:59:05 -07:00
Gustavo J. A. M. Carneiro 7c3206a589 Only generate everything.h if python bindings are enabled. Based on patch by Mathieu Lacage. Closes #260. 2008-07-26 15:23:41 +01:00
Gustavo J. A. M. Carneiro 48cb7695cb When generating the everything.h header file for Python, handle ns3 headers inside subdirectories properly. 2008-07-26 15:10:34 +01:00
Gustavo J. A. M. Carneiro 3b80a1abfc When python scanning API, remove again the NS3_LOG_ENABLE define; it is no longer needed. 2008-07-25 16:54:29 +01:00
Gustavo J. A. M. Carneiro a76c709ef8 Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence. 2008-07-24 11:41:15 +01:00
Gustavo J. A. M. Carneiro 50b884c4bc Define NS3_ASSERT_ENABLE and NS3_LOG_ENABLE, to make sure we pick up all definitions (such as the logging APIs) 2008-07-23 11:48:17 +01:00
Gustavo J. A. M. Carneiro fd4fa128c6 Require new PyBindGen; make it work for Python 2.3. 2008-07-22 16:54:24 +01:00
Gustavo J. A. M. Carneiro 2d8befef63 Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read 2008-07-21 15:30:15 +01:00
Gustavo J. A. M. Carneiro 1609dccea8 python scanning: remove redundant incref/decref_method annotations 2008-07-21 11:43:05 +01:00
Gustavo J. A. M. Carneiro 90a520d862 New API considering comments from Craig: NetDevice->Node uses two callbacks; Node->ProtocolHandlers uses a single API with a promiscuous flag. 2008-07-16 16:06:50 +01:00
Gustavo J. A. M. Carneiro 7bd581dfdf Rescan API 2008-07-14 11:42:49 +01:00
Gustavo J. A. M. Carneiro 362021f56c Again, make Python depend only on scanned modules (last fix was incomplete). 2008-07-14 11:35:58 +01:00
Gustavo J. A. M. Carneiro 82fc6db406 Make Python bindings depend only on NS-3 modules that have been API-scanned, not all modules. 2008-07-14 11:25:10 +01:00
Gustavo J. A. M. Carneiro 453ed1e996 Python: make helper class methods using attribute optional parameters work. 2008-07-13 17:55:48 +01:00
Gustavo J. A. M. Carneiro 5d0f3c1258 If GtkConfigStore support is disabled, disable the python bindings for it, or else compilation fails. 2008-07-12 22:06:15 +01:00
Gustavo J. A. M. Carneiro 76962e195e Make sure we don't trigger deprecation warnings while compiling the python bindings. 2008-07-11 19:32:22 +01:00
Gustavo J. A. M. Carneiro bef2c5040c Rescan APIs 2008-07-11 18:39:19 +01:00
Gustavo J. A. M. Carneiro 95820416e6 Rescan API; fix and enable the socket unit test, as it now works. 2008-07-09 18:50:28 +01:00
Gustavo J. A. M. Carneiro fe87fc9900 Fix a problem with callback proxies with zero or one parameters. 2008-07-09 18:33:16 +01:00
Gustavo J. A. M. Carneiro 387ce2d35a Redirect the stderr of pybindgen to a log file (ns3modulegen.log). 2008-07-09 17:31:37 +01:00
Gustavo J. A. M. Carneiro 9e188c79a7 The 'everything.h' header file is only used for Python bindings and should be generated into bindings/python/, not ns3/. 2008-07-09 14:58:02 +01:00
Gustavo J. A. M. Carneiro 9efa9be722 python bindings 2008-07-08 10:43:58 -07:00