File:  [CENS] / python / pyGiNaC / libboostpython / _libboostpython.c
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Nov 20 17:11:13 2001 UTC (16 years ago) by pearu
Branches: MAIN
CVS tags: HEAD
Catching up latest GiNaC and BPL

/*
  Usage: if _libboostpython is installed, then its __file__
         attribute can be used as a path to Boost.Python
	 shared library.

  Copyright 2001 Pearu Peterson <pearu@cens.ioc.ee>
  Licence: LGPL
 */
#ifdef __CPLUSPLUS__
extern "C" {
#endif
#include "Python.h"
static PyMethodDef module_methods[] = {
  {NULL,NULL}
};
void init_libboostpython() {
  Py_InitModule("_libboostpython", module_methods);
}
#ifdef __CPLUSCPLUS__
}
#endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>