O&1 X d Z ddd ZdZddlmZmZmZmZmZ ddd gd
Z d Z
d Zd
S )ag
Build 'use others module data' mechanism for f2py2e.
Unfinished.
Copyright 2000 Pearu Peterson all rights reserved,
Pearu Peterson
Permission to use, modify, and distribute this software is given under the
terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
$Date: 2000/09/10 12:35:43 $
Pearu Peterson
z$Revision: 1.3 $
z
See `f2py -v` )
applyrules
dictappendgentitlehasnoteoutmessa
#begintitle#
static char doc_#apiname#[] = "\
Variable wrapper signature:\n\
#name# = get_#name#()\n\
Arguments:\n\
#docstr#";
extern F_MODFUNC(#usemodulename#,#USEMODULENAME#,#realname#,#REALNAME#);
static PyObject *#apiname#(PyObject *capi_self, PyObject *capi_args) {
/*#decl#*/
if (!PyArg_ParseTuple(capi_args, "")) goto capi_fail;
printf("c: %d\n",F_MODFUNC(#usemodulename#,#USEMODULENAME#,#realname#,#REALNAME#));
return Py_BuildValue("");
capi_fail:
return NULL;
}
zC {"get_#name#",#apiname#,METH_VARARGS|METH_KEYWORDS,doc_#apiname#}, F_MODFUNC)bodymethodneedc i }t d| d z i }i }d|v rv|d D ][}|d | |v r8t d|d | d|d||d | d J|||d | <