Expose shared_ptr to swig
Possibly not the right way to go about it but technically works
(cherry picked from commit 182abd4652
)
This commit is contained in:
parent
541f7467c6
commit
11788d2f39
|
@ -111,6 +111,11 @@ public:
|
|||
*/
|
||||
NETCLASS* GetNetClass() { return m_netClass.get(); }
|
||||
|
||||
/**
|
||||
* @note Slow version for swig access
|
||||
*/
|
||||
std::shared_ptr<NETCLASS> GetNetClassSlow() { return m_netClass; }
|
||||
|
||||
int GetNetCode() const { return m_netCode; }
|
||||
void SetNetCode( int aNetCode ) { m_netCode = aNetCode; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue