from bt2 import trace_class as bt2_trace_class
from bt2 import clock_class as bt2_clock_class
from bt2 import query_executor as bt2_query_executor
from bt2 import trace_class as bt2_trace_class
from bt2 import clock_class as bt2_clock_class
from bt2 import query_executor as bt2_query_executor
- def _bt_query_from_native(cls, priv_query_exec_ptr, obj, params_ptr):
+ def _bt_query_from_native(cls, priv_query_exec_ptr, object, params_ptr, method_obj):
# this can raise, in which case the native call to
# bt_component_class_query() returns NULL
if params_ptr is not None:
# this can raise, in which case the native call to
# bt_component_class_query() returns NULL
if params_ptr is not None:
- results = cls._user_query(priv_query_exec, obj, params)
+ results = cls._user_query(priv_query_exec, object, params, method_obj)
finally:
# the private query executor is a private view on the query
# executor; it's not a shared object (the library does not
finally:
# the private query executor is a private view on the query
# executor; it's not a shared object (the library does not
- def _user_query(cls, priv_query_executor, obj, params):
+ def _user_query(cls, priv_query_executor, object, params, method_obj):