fixed: auto_ptr -> unique_ptr
[opensg.git] / Bindings / Python / Patches / osggen.py.patch
blob72ed15637ed57f3d3b20a2b89ad112bcd4866009
1 --- /home/gerrit/nethome/Projects/OpenSG/Python/pyopensg.master/src/osggen.py 2011-01-12 10:25:49.000000000 +0800
2 +++ osggen.py.proc 2011-12-24 05:04:37.004137828 +0800
3 @@ -422,6 +422,7 @@
4 # For now ignore all the field based access and the edit based ref access.
5 cls.member_functions(regex_matcher("edit.*"), allow_empty = True).exclude()
6 cls.member_functions(regex_matcher("edit[MS]F.*"), allow_empty = True).exclude()
7 + cls.member_functions(regex_matcher("getValueMField_.*"), allow_empty = True).exclude()
9 # Remove a set of methods and parameters that we have deemed to be "bad", (ie. difficult or
10 # impossible to wrap).
11 @@ -510,10 +511,10 @@
12 new_methodname = "%s_%s"%(cleanTemplateName(classname), methodname) # calldef.location.line
14 if mfIsPointer:
15 - get_size = "mf_data->size()"
16 + get_size = "mf_data->size32()"
17 get_entry = "(*mf_data)[i]"
18 else:
19 - get_size = "mf_data.size()"
20 + get_size = "mf_data.size32()"
21 get_entry = "mf_data[i]"
23 # Determine if the type contained in the multi-field derives from OSG::FieldContainer. If it