[pypy-commit] lang-smalltalk default: added interpreter proxy minor 3 stubs

lwassermann noreply at buildbot.pypy.org
Tue Jun 18 16:04:05 CEST 2013


Author: Lars Wassermann <lars.wassermann at gmail.com>
Branch: 
Changeset: r448:ce8d75cdb2fc
Date: 2013-06-11 11:43 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/ce8d75cdb2fc/

Log:	added interpreter proxy minor 3 stubs

diff --git a/spyvm/interpreter_proxy.py b/spyvm/interpreter_proxy.py
--- a/spyvm/interpreter_proxy.py
+++ b/spyvm/interpreter_proxy.py
@@ -660,10 +660,15 @@
 # #endif
 
 # #if VM_PROXY_MINOR > 3
+ at expose_on_virtual_machine_proxy([str, str], bool, minor=3)
+def ioLoadFunctionFrom(fnName, modName):
+    print 'Called InterpreterProxy >> ioLoadFunctionFrom'
+    raise ProxyFunctionFailed
 
-#     void *(*ioLoadFunctionFrom)(char *fnName, char *modName);
-#     sqInt (*ioMicroMSecs)(void);
-
+ at expose_on_virtual_machine_proxy([], bool, minor=3)
+def ioMicroMSecs():
+    print 'Called InterpreterProxy >> ioMicroMSecs'
+    raise ProxyFunctionFailed
 # #endif
 
 # #if VM_PROXY_MINOR > 4


More information about the pypy-commit mailing list