Skip to content

Commit facdc12

Browse files
committed
Fix Python PikaObjUtils
1 parent fd9fd49 commit facdc12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Applications/Python/PikaPython/pikascript-lib/MatrixOS/PikaObjUtils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ template <typename T, typename... Args>
66
void createCppObjPtrInPikaObj(PikaObj* pika_obj, Args&&... args)
77
{
88
T obj = T(std::forward<Args>(args)...);
9+
obj_setStruct(pika_obj, (char*)"_self", obj);
910
}
1011

1112
template <typename T>

0 commit comments

Comments
 (0)