~nipy-developers/nipy/fff2

« back to all changes in this revision

Viewing changes to python/bindings/obsolete/testmodule.c

  • Committer: Bertrand THIRION
  • Date: 2008-04-03 17:29:55 UTC
  • mfrom: (13.1.5 fff2)
  • Revision ID: bt206016@is143015-20080403172955-w7v1pdjdriofvzzs
Merged Alexis'changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <fffPy.h>
 
1
#include <fffpy.h>
2
2
#define PY_ARRAY_UNIQUE_SYMBOL PyArray_API
3
3
 
4
4
static char pass_vector_doc[] = " pass_vector(array, flagCopy) : pass a vector through a ref or a copy";
32
32
void inittestmodule(void)
33
33
{
34
34
  Py_InitModule3("testmodule", module_methods, module_doc);
35
 
  fffPy_import_array();
 
35
  fffpy_import_array(); 
36
36
  import_array();   /* required NumPy initialization */
37
37
}