New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
This commit is contained in:
@@ -22,7 +22,7 @@ else:
|
||||
os.environ['PYTHONPATH'] = LOCAL_PYBINDGEN_PATH
|
||||
|
||||
## https://launchpad.net/pybindgen/
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 9, 0, 582)
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 9, 0, 593)
|
||||
REQUIRED_PYGCCXML_VERSION = (0, 9, 5)
|
||||
|
||||
|
||||
@@ -251,6 +251,27 @@ __dummy_function_to_force_template_instantiation (Ptr<Object> obj, TypeId typeId
|
||||
return obj->GetObject<Object> (typeId);
|
||||
}
|
||||
|
||||
|
||||
static inline void
|
||||
__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;
|
||||
t1 != t2;
|
||||
t1 >= t2;
|
||||
t1 > t2;
|
||||
}
|
||||
|
||||
}
|
||||
"""
|
||||
outfile.close()
|
||||
|
||||
Reference in New Issue
Block a user