summaryrefslogtreecommitdiff
path: root/numpy/f2py/lib/python_wrapper.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-10-04 09:49:54 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-10-04 09:49:54 +0000
commitc620acddd34a07edd6f33baad0adfad6e8cf1bd5 (patch)
tree3413710782a3f16711c4935cde86fbb5e69c35dd /numpy/f2py/lib/python_wrapper.py
parentac93e95702a9047b774b4cdd1838c9e1b1f70739 (diff)
downloadnumpy-c620acddd34a07edd6f33baad0adfad6e8cf1bd5.tar.gz
F2PY G3: exposed wrappers via f2py script. A working example: wrap F90 module containing derived type with scalar components.
Diffstat (limited to 'numpy/f2py/lib/python_wrapper.py')
-rw-r--r--numpy/f2py/lib/python_wrapper.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/numpy/f2py/lib/python_wrapper.py b/numpy/f2py/lib/python_wrapper.py
index 6f7500b1e..7f73d6fbb 100644
--- a/numpy/f2py/lib/python_wrapper.py
+++ b/numpy/f2py/lib/python_wrapper.py
@@ -7,10 +7,6 @@ import sys
from parser.api import *
-#from block_statements import *
-#from typedecl_statements import intrinsic_type_spec, Character
-#from utils import CHAR_BIT
-
from wrapper_base import *
class PythonWrapperModule(WrapperBase):
@@ -65,8 +61,6 @@ PyMODINIT_FUNC init%(modulename)s(void) {
def __init__(self, modulename):
WrapperBase.__init__(self)
self.modulename = modulename
- #self.include_list = []
- #self.cppmacro_list = []
self.header_list = []
self.typedef_list = []
@@ -80,11 +74,6 @@ PyMODINIT_FUNC init%(modulename)s(void) {
self.fortran_code_list = []
- #self.defined_types = []
- #self.defined_macros = []
- #self.defined_c_functions = []
- #self.defined_typedefs = []
-
self.list_names = ['header', 'typedef', 'extern', 'objdecl',
'c_code','capi_code','module_method','module_init',
'fortran_code']