Home
last modified time | relevance | path

Searched refs:guarded_strdup (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/include/pybind11/
Dpybind11.h269 strdup_guard guarded_strdup; in PYBIND11_NAMESPACE_BEGIN() local
272 rec->name = guarded_strdup(rec->name ? rec->name : ""); in PYBIND11_NAMESPACE_BEGIN()
273 if (rec->doc) rec->doc = guarded_strdup(rec->doc); in PYBIND11_NAMESPACE_BEGIN()
276 a.name = guarded_strdup(a.name); in PYBIND11_NAMESPACE_BEGIN()
278 a.descr = guarded_strdup(a.descr); in PYBIND11_NAMESPACE_BEGIN()
280 a.descr = guarded_strdup(repr(a.value).cast<std::string>().c_str()); in PYBIND11_NAMESPACE_BEGIN()
363 rec->name = guarded_strdup("next"); in PYBIND11_NAMESPACE_BEGIN()
366 rec->name = guarded_strdup("__nonzero__"); in PYBIND11_NAMESPACE_BEGIN()
369 rec->signature = guarded_strdup(signature.c_str()); in PYBIND11_NAMESPACE_BEGIN()
403 guarded_strdup.release(); in PYBIND11_NAMESPACE_BEGIN()
[all …]