Bug 258 - Make some logging functions available as noops in optimized builds
Make some logging functions available as noops in optimized builds
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-24 13:34 UTC by Gustavo J. A. M. Carneiro
Modified: 2008-07-25 11:51 UTC (History)
0 users

See Also:


Attachments
patch (5.74 KB, patch)
2008-07-24 13:35 UTC, Gustavo J. A. M. Carneiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2008-07-24 13:34:47 UTC
For the sake of Python bindings, it is desirable to wrap some logging APIs (LogEnable*, etc.).  But they can only be wrapped if they're always available, including in optimized builds.
Comment 1 Gustavo J. A. M. Carneiro 2008-07-24 13:35:19 UTC
Created attachment 207 [details]
patch
Comment 2 Mathieu Lacage 2008-07-25 11:18:04 UTC
looks good to me. please, apply.