early work to make python bindings work again with ns-3-time
This commit is contained in:
@@ -303,7 +303,7 @@ def ns3_module_scan(top_builddir, pygen_file_name, everything_h, cflags):
|
||||
#'NS3_ASSERT_ENABLE': None,
|
||||
#'NS3_LOG_ENABLE': None,
|
||||
},
|
||||
cflags=('--gccxml-cxxflags %r' % (cflags,))
|
||||
cflags=('--gccxml-cxxflags %r %s' % (cflags,'-DPYTHON_SCAN'))
|
||||
)
|
||||
|
||||
module_parser.parse_init([everything_h],
|
||||
|
||||
@@ -419,12 +419,6 @@ __dummy_function_to_force_template_instantiation_v2 ()
|
||||
Time t1, t2, t3;
|
||||
t1 = t2 + t3;
|
||||
t1 = t2 - t3;
|
||||
TimeSquare tsq = t2*t3;
|
||||
Time tsqdiv = tsq/Seconds(1);
|
||||
Scalar scal = t2/t3;
|
||||
TimeInvert inv = scal/t3;
|
||||
t1 = scal*t1;
|
||||
t1 = t1/scal;
|
||||
t1 < t2;
|
||||
t1 <= t2;
|
||||
t1 == t2;
|
||||
|
||||
Reference in New Issue
Block a user