[pypy-svn] r66023 - pypy/trunk/pypy/translator/c
fijal at codespeak.net
fijal at codespeak.net
Sun Jun 28 23:15:43 CEST 2009
Author: fijal
Date: Sun Jun 28 23:15:43 2009
New Revision: 66023
Modified:
pypy/trunk/pypy/translator/c/dlltool.py
Log:
add a policy argument
Modified: pypy/trunk/pypy/translator/c/dlltool.py
==============================================================================
--- pypy/trunk/pypy/translator/c/dlltool.py (original)
+++ pypy/trunk/pypy/translator/c/dlltool.py Sun Jun 28 23:15:43 2009
@@ -35,11 +35,11 @@
return self.so_name
class DLLDef(object):
- def __init__(self, name, functions=[]):
+ def __init__(self, name, functions=[], policy=None):
self.name = name
self.functions = functions # [(function, annotation), ...]
self.driver = TranslationDriver()
- self.driver.setup_library(self)
+ self.driver.setup_library(self, policy=policy)
def compile(self):
self.driver.proceed(['compile_c'])
More information about the Pypy-commit
mailing list