}
@Override
public void postInvoke(Pointer[] pointers, int[] primitive, ToNativeContext context) {
if (pointers != null && primitive != null && ParameterFlags.isOut(parameterFlags)) {
MemoryManager mm = runtime.getMemoryManager();
for (int i = 0; i < pointers.length; i++) {
pointers[i] = mm.newPointer(primitive[i]);
}
}
}