@@ -67,7 +67,7 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(load_from_file_overload, LoadFromFile, 2,
6767BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (save_to_file_overload, SaveToFile, 2 , 3 );
6868BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (find_key_overload, FindKey, 1 , 2 );
6969BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (get_int_overload, GetInt, 0 , 2 );
70- BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (get_uint64_overload, GetInt , 0 , 2 );
70+ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (get_uint64_overload, GetUint64 , 0 , 2 );
7171BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (get_float_overload, GetFloat, 0 , 2 );
7272BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (get_string_overload, GetString, 0 , 2 );
7373BOOST_PYTHON_FUNCTION_OVERLOADS (get_bool_overload, KeyValuesExt::GetBool, 2 , 3 );
@@ -87,6 +87,7 @@ void export_keyvalues()
8787 .def(init<const char *, const char *, const char *, const char *, const char *>())
8888 .def(init<const char *, const char *, int, const char *, int>())
8989 */
90+
9091 .def (" delete" ,
9192 &KeyValues::deleteThis,
9293 " Ensures that KeyValues object is deleted from correct heap"
@@ -211,7 +212,7 @@ void export_keyvalues()
211212 )
212213
213214 .def (" get_uint64" ,
214- & KeyValues:: GetUint64,
215+ GET_METHOD (uint64, KeyValues, GetUint64, const char *, uint64) ,
215216 get_uint64_overload (
216217 " Gets the 64-bit integer value for the given key name." ,
217218 args (" key_name" , " default_value" )
0 commit comments