"""
-import stdapi
+import specs.stdapi as stdapi
def function_pointer_type(function):
def fail_function(self, function):
if function.type is stdapi.Void or function.fail is not None:
- print r' OS::DebugMessage("warning: ignoring call to unavailable function %s\n", __name);'
+ print r' os::log("warning: ignoring call to unavailable function %s\n", __name);'
if function.type is stdapi.Void:
assert function.fail is None
print ' return;'
assert function.fail is not None
print ' return %s;' % function.fail
else:
- print r' OS::DebugMessage("error: unavailable function %s\n", __name);'
- print r' OS::Abort();'
+ print r' os::log("error: unavailable function %s\n", __name);'
+ print r' os::abort();'