final int objectInfo(ObjectParameterInfo info) { int objectInfo = info.asObjectInfo(); // Over-ride the type info contained in the parameter info if (typeInfo != 0) { return (objectInfo & ~ObjectBuffer.TYPE_MASK) | typeInfo; } else { return objectInfo; } }
public final long invokeN3O3rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) { return foreign.invokeN3O3(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len, o3, o3flags.asObjectInfo(), o3off, o3len); }
public final long invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) { return foreign.invokeN4O3(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len, o3, o3flags.asObjectInfo(), o3off, o3len); }
public final long invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) { return foreign.invokeN4O3(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len, o3, o3flags.asObjectInfo(), o3off, o3len); }
public final long invokeN6O3rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) { return foreign.invokeN6O3(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, n6, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len, o3, o3flags.asObjectInfo(), o3off, o3len); } }
@Override public long invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) { return foreign.invokeN5O2(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len); }
public final long invokeN4O2rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) { return foreign.invokeN4O2(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len); }
@Override public long invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) { return foreign.invokeN6O2(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, n6, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len); }
@Override public long invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) { return foreign.invokeN6O2(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, n6, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len); }
@Override public long invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) { return foreign.invokeN5O2(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, o1, o1flags.asObjectInfo(), o1off, o1len, o2, o2flags.asObjectInfo(), o2off, o2len); }
public final long invokeN1O1(CallContext ctx, long fn, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN1O1(ctx.getAddress(), fn, n1, o1, o1flags.asObjectInfo(), o1off, o1len); }
public final long invokeN1O1(CallContext ctx, long fn, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN1O1(ctx.getAddress(), fn, n1, o1, o1flags.asObjectInfo(), o1off, o1len); }
@Override public long invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN6O1(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, n6, o1, o1flags.asObjectInfo(), o1off, o1len); }
public final long invokeN4O1rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN4O1(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, o1, o1flags.asObjectInfo(), o1off, o1len); }
@Override public long invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN5O1(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, o1, o1flags.asObjectInfo(), o1off, o1len); }
@Override public long invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN5O1(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, o1, o1flags.asObjectInfo(), o1off, o1len); }
@Override public long invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return foreign.invokeN6O1(function.getContextAddress(), function.getFunctionAddress(), n1, n2, n3, n4, n5, n6, o1, o1flags.asObjectInfo(), o1off, o1len); }
private long invokeO1(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return function.getReturnType().size() == 8 ? foreign.invokeArrayO1Int64(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len) : foreign.invokeArrayO1Int32(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len); }
private long invokeO1(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return function.getReturnType().size() == 8 ? foreign.invokeArrayO1Int64(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len) : foreign.invokeArrayO1Int32(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len); }
private long invokeO1(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) { return function.getReturnType().size() == 8 ? foreign.invokeArrayO1Int64(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len) : foreign.invokeArrayO1Int32(function.getContextAddress(), function.getFunctionAddress(), paramBuffer, o1, o1flags.asObjectInfo(), o1off, o1len); }