Skip to content

Commit 1ad3e47

Browse files
extract comments
1 parent d88ab8b commit 1ad3e47

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

clingwrapper/src/clingwrapper.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,11 @@ Cppyy::TCppScope_t Cppyy::GetTypeScope(TCppScope_t var)
783783
Cpp::GetVariableType(var));
784784
}
785785

786+
std::string Cppyy::GetDoc(Cppyy::TCppScope_t scope)
787+
{
788+
return Cpp::GetDocString(scope);
789+
}
790+
786791
Cppyy::TCppScope_t Cppyy::GetNamed(const std::string& name,
787792
TCppScope_t parent_scope)
788793
{

clingwrapper/src/cpp_cppyy.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ namespace Cppyy {
110110
RPY_EXPORTED
111111
TCppScope_t GetFullScope(const std::string& scope_name);
112112
RPY_EXPORTED
113+
std::string GetDoc(TCppScope_t scope);
114+
RPY_EXPORTED
113115
TCppScope_t GetTypeScope(TCppScope_t klass);
114116
RPY_EXPORTED
115117
TCppScope_t GetNamed(const std::string& scope_name,

0 commit comments

Comments
 (0)