diff --git a/clingwrapper/src/clingwrapper.cxx b/clingwrapper/src/clingwrapper.cxx index 220002f5..0140370d 100644 --- a/clingwrapper/src/clingwrapper.cxx +++ b/clingwrapper/src/clingwrapper.cxx @@ -463,6 +463,10 @@ bool Cppyy::IsClassType(TCppType_t type) { return Cpp::IsRecordType(type); } +bool Cppyy::IsFunctionPointerType(TCppType_t type) { + return Cpp::IsFunctionPointerType(type); +} + // returns true if no new type was added. bool Cppyy::AppendTypesSlow(const std::string &name, std::vector& types) { diff --git a/clingwrapper/src/cpp_cppyy.h b/clingwrapper/src/cpp_cppyy.h index 60b6005a..ba03c8e1 100644 --- a/clingwrapper/src/cpp_cppyy.h +++ b/clingwrapper/src/cpp_cppyy.h @@ -84,6 +84,8 @@ namespace Cppyy { RPY_EXPORTED bool IsClassType(TCppType_t type); RPY_EXPORTED + bool IsFunctionPointerType(TCppType_t type); + RPY_EXPORTED TCppType_t GetType(const std::string &name, bool enable_slow_lookup = false); RPY_EXPORTED bool AppendTypesSlow(const std::string &name,