MCPcopy Create free account
hub / github.com/pybind/pybind11 / precall

Method precall

include/pybind11/attr.h:690–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688 (process_attribute<typename std::decay<Args>::type>::init(args, r), 0)...};
689 }
690 static void precall(function_call &call) {
691 PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(call);
692 using expander = int[];
693 (void) expander{0,
694 (process_attribute<typename std::decay<Args>::type>::precall(call), 0)...};
695 }
696 static void postcall(function_call &call, handle fn_ret) {
697 PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(call, fn_ret);
698 PYBIND11_WORKAROUND_INCORRECT_GCC_UNUSED_BUT_SET_PARAMETER(fn_ret);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected