Mercurial > hg > pymt
comparison pymt.cpp @ 1:f63d649f91b4 default tip
fix include path
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Mon, 19 May 2008 10:23:11 +0200 |
| parents | 0fa810263337 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:0fa810263337 | 1:f63d649f91b4 |
|---|---|
| 1 #include "MersenneTwister.h" | 1 #include "MersenneTwister.h" |
| 2 #include "python2.5/Python.h" | 2 #include "Python.h" |
| 3 | 3 |
| 4 static MTRand mt; | 4 static MTRand mt; |
| 5 | 5 |
| 6 static PyObject * | 6 static PyObject * |
| 7 pymt_seed(PyObject *self, PyObject *args) { | 7 pymt_seed(PyObject *self, PyObject *args) { |
