Lines Matching refs:call
1860 /// Internal data associated with a single function call
1880 /// If this is a call to an initializer, this argument contains `self`
1906 bool load_args(function_call &call) {
1907 return load_impl_sequence(call, indices{});
1911 enable_if_t<!std::is_void<Return>::value, Return> call(Func &&f) && {
1916 enable_if_t<std::is_void<Return>::value, void_type> call(Func &&f) && {
1926 bool load_impl_sequence(function_call &call, index_sequence<Is...>) {
1927 for (bool r : {std::get<Is>(argcasters).load(call.args[Is], call.args_convert[Is])...})
1941 /// Helper class which collects only positional arguments for a Python function call.
1956 object call(PyObject *ptr) const {
1967 /// Helper class which collects positional, keyword, * and ** arguments for a Python function call
1974 // but the actual function call strictly requires a tuple.
1989 object call(PyObject *ptr) const {
2057 "may be passed via py::arg() to a python function call. "
2062 "arguments may be passed via py::arg() to a python function call. ");
2074 throw cast_error("Unable to convert call argument to Python object "
2079 throw cast_error("Unable to convert call argument '" + name
2088 /// Collect only positional arguments for a Python function call
2103 "Invalid function call: positional args must precede keywords and ** unpacking; "
2112 return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
2117 object object_api<Derived>::call(Args &&...args) const {