William S Fulton
|
ae42706190
|
Experimental boost::shared_ptr support - incomplete.
The swigregister methods need hacking to work. Modify Examples/Makefile from:
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
to
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
mv $(ICXXSRCS) $(ICXXSRCS).tmp
echo "sed hacked filename: " $(ICXXSRCS)
cat $(ICXXSRCS).tmp | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__Klass,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__Klass_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__KlassDerived,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__KlassDerived_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_BaseTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTBaseTint_double_t_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_PairTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTPairTint_double_t_t,/' \
> $(ICXXSRCS)
rm $(ICXXSRCS).tmp
to do this automatically
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-01-13 22:28:42 +00:00 |
|