Commits

Anonymous committed 667212a

add some doc

  • Participants
  • Parent commits feb1a80

Comments (0)

Files changed (1)

+cy-cxxfwk
+=========
+
+a little example on how to have a cython class blend in into a C++ framework
+
+to test:
+--------
+
+::
+
+  $ ./waf configure clean build && (cd __build__; PYTHON=`which python2` LD_LIBRARY_PATH=`pwd` PYTHONPATH=.:${PYTHONPATH} ./test-app)
+
+
+
+you should see something like that:
+
+::
+
+   === app ===
+   :: python initialized
+   ==> cyfwk module imported
+   :: import_cyfwk ok
+   ===> testing a pure c++ alg...
+   :: Alg::Alg()...
+   :: Alg::run()...
+   ===> testing a cy-alg...
+   --- self.i: 42
+   ::CyAlgBase::run()...
+   --> cy_run_fct...
+   --- myalg.run => 42
+   --> cy_run_fct...[done]
+   === bye.
+