// we use 'int' here to make sure the native code doesn't touch any of the bits // the important part is that our Java code performs argument normalization
EXPORT int test(void (*cb)(int), int x) {
cb(x); // check upcall arg normalization return x; // check return value normalization
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.