Author: Lars Wassermann <[email protected]>
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
+@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);
-
+@expose_on_virtual_machine_proxy([], bool, minor=3)
+def ioMicroMSecs():
+    print 'Called InterpreterProxy >> ioMicroMSecs'
+    raise ProxyFunctionFailed
 # #endif
 
 # #if VM_PROXY_MINOR > 4
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to