Skip to content
Snippets Groups Projects
Select Git revision
  • 6e102b044f6aad89a73004036216c9d19ea17c23
  • master default protected
  • vertical_relations
  • lu_without_semantic_frames
  • hierarchy
  • additional-unification-filters
  • v0.1.1
  • v0.1.0
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
  • v0.0.1
17 results

README.md

Blame
  • boost_shared_ptr.i 342 B
    /**
     * Wrapper for boost shared_ptr
     */
    #ifndef SWIG_BOOST_SHAREDPTR
    #define SWIG_BOOST_SHAREDPTR
    
    %module swig_boost_shared_ptr
    %{
    %}
    
    namespace boost {
      template<class T> class shared_ptr {
      public:
        shared_ptr();
        shared_ptr(T * p);
        T* operator->();
      private:
        T * px;
        int pn;
      };
    }
    
    #endif /* SWIG_BOOST_SHAREDPTR */