public static IshtarObject *FPrintLn(CallFrame current, IshtarObject **args) { var arg1 = args[0]; if (arg1 == null) { current.ThrowException(KnowTypes.NullPointerException(current)); return(null); } FFI.StaticValidate(current, &arg1); FFI.StaticTypeOf(current, &arg1, TYPE_STRING); var @class = arg1->decodeClass(); var str = IshtarMarshal.ToDotnetString(arg1, current); Out.WriteLine(); Out.WriteLine($"\t{str}"); Out.WriteLine(); return(null); }
public static IshtarObject *IsInstanceOfByRef(CallFrame frame, IshtarObject *c, RuntimeIshtarClass @class) { // temporary cast to\from interface is not support frame.ThrowException(KnowTypes.IncorrectCastFault(frame)); return(c); }