[pypy-commit] pypy kill-someobject: more code quality cleanup
alex_gaynor
noreply at buildbot.pypy.org
Sun Oct 7 20:01:31 CEST 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: kill-someobject
Changeset: r57847:5b5c78c68248
Date: 2012-10-07 20:00 +0200
http://bitbucket.org/pypy/pypy/changeset/5b5c78c68248/
Log: more code quality cleanup
diff --git a/pypy/translator/c/dlltool.py b/pypy/translator/c/dlltool.py
--- a/pypy/translator/c/dlltool.py
+++ b/pypy/translator/c/dlltool.py
@@ -1,9 +1,10 @@
from pypy.translator.driver import TranslationDriver
-from pypy.translator.c.genc import CBuilder, CCompilerDriver
+from pypy.translator.c.genc import CBuilder
from pypy.rpython.typesystem import getfunctionptr
from pypy.translator.tool.cbuild import ExternalCompilationInfo
+
class CLibraryBuilder(CBuilder):
standalone = False
split = True
@@ -38,6 +39,7 @@
def get_entry_point(self, isolated=False):
return self.so_name
+
class DLLDef(object):
def __init__(self, name, functions=[], policy=None, config=None):
self.name = name
More information about the pypy-commit
mailing list