Nasal/CppBind: Difference between revisions

Jump to navigation Jump to search
m
→‎Getting started: Boost removal.
m (→‎Getting started: Boost removal.)
Line 103: Line 103:
   
   
// cppbind manages all objects as shared pointers
// cppbind manages all objects as shared pointers
// use boost::shared_ptr or SGReferenced objects
// 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 boost::shared_ptr<Test> Test_ptr;
typedef std::shared_ptr<Test> Test_ptr;
typedef nasal::Ghost< Test_ptr > NasalTest;
typedef nasal::Ghost< Test_ptr > NasalTest;
   
   

Navigation menu