6,566
edits
m (→Getting started: Boost removal.) |
|||
Line 103: | Line 103: | ||
// cppbind manages all objects as shared pointers | // cppbind manages all objects as shared pointers | ||
// use | // use std::shared_ptr or SGReferenced objects | ||
// typically, you'll want to provide two helper | // typically, you'll want to provide two helper | ||
// functions for each of your classes | // functions for each of your classes | ||
typedef | typedef std::shared_ptr<Test> Test_ptr; | ||
typedef nasal::Ghost< Test_ptr > NasalTest; | typedef nasal::Ghost< Test_ptr > NasalTest; | ||