Skip to content

Commit f212d74

Browse files
Vipul-Cariappaaaronj0
authored andcommitted
Add IsPointerType (#147)
1 parent 666d9cf commit f212d74

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

clingwrapper/src/clingwrapper.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,10 @@ bool Cppyy::IsClassType(TCppType_t type) {
491491
return Cpp::IsRecordType(type);
492492
}
493493

494+
bool Cppyy::IsPointerType(TCppType_t type) {
495+
return Cpp::IsPointerType(type);
496+
}
497+
494498
bool Cppyy::IsFunctionPointerType(TCppType_t type) {
495499
return Cpp::IsFunctionPointerType(type);
496500
}

clingwrapper/src/cpp_cppyy.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ namespace Cppyy {
8686
RPY_EXPORTED
8787
bool IsClassType(TCppType_t type);
8888
RPY_EXPORTED
89+
bool IsPointerType(TCppType_t type);
90+
RPY_EXPORTED
8991
bool IsFunctionPointerType(TCppType_t type);
9092
RPY_EXPORTED
9193
TCppType_t GetType(const std::string &name, bool enable_slow_lookup = false);

0 commit comments

Comments
 (0)