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

Method function_record

include/pybind11/attr.h:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196#define PYBIND11_DETAIL_FUNCTION_RECORD_ABI_ID "v1" // PLEASE UPDATE if the struct is changed.
197struct function_record {
198 function_record()
199 : is_constructor(false), is_new_style_constructor(false), is_stateless(false),
200 is_operator(false), is_method(false), is_setter(false), has_args(false),
201 has_kwargs(false), prepend(false) {}
202
203 /// Function name
204 char *name = nullptr; /* why no C++ strings? They generate heavier code.. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected