Expose shared_ptr to swig

Possibly not the right way to go about it but technically works
This commit is contained in:
mitxela 2023-02-21 23:40:23 +00:00 committed by Jon Evans
parent 716328e511
commit 182abd4652
1 changed files with 5 additions and 0 deletions

View File

@ -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; }