core: Add NS_DEPRECATED_3_32 tag
This commit is contained in:
@@ -62,6 +62,15 @@
|
||||
#define NS_DEPRECATED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \def NS_DEPRECATED_3_32
|
||||
* Tag for things deprecated in version ns-3.32.
|
||||
*/
|
||||
#ifdef NS_DEPRECATED
|
||||
#define NS_DEPRECATED_3_32 NS_DEPRECATED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \ingroup core
|
||||
* \def NS_DEPRECATED_3_31
|
||||
|
||||
@@ -278,10 +278,9 @@ def ns3_python_bindings(bld):
|
||||
pymod.env.append_value('LINKFLAGS', '-Wl,-Bdynamic,--no-whole-archive')
|
||||
defines = list(pymod.env['DEFINES'])
|
||||
defines.extend(['NS_DEPRECATED=', 'NS3_DEPRECATED_H'])
|
||||
defines.extend(['NS_DEPRECATED_3_32=', 'NS3_DEPRECATED_H'])
|
||||
defines.extend(['NS_DEPRECATED_3_31=', 'NS3_DEPRECATED_H'])
|
||||
defines.extend(['NS_DEPRECATED_3_30=', 'NS3_DEPRECATED_H'])
|
||||
defines.extend(['NS_DEPRECATED_3_27=', 'NS3_DEPRECATED_H'])
|
||||
defines.extend(['NS_DEPRECATED_3_26=', 'NS3_DEPRECATED_H'])
|
||||
if Utils.unversioned_sys_platform()== 'win32':
|
||||
try:
|
||||
defines.remove('_DEBUG') # causes undefined symbols on win32
|
||||
|
||||
Reference in New Issue
Block a user