lpac-jni: Assert jlong is enough to hold a platform sized pointer
All checks were successful
/ build-debug (push) Successful in 3m48s
All checks were successful
/ build-debug (push) Successful in 3m48s
This commit is contained in:
parent
18cd9acdb8
commit
2a8fb99ed0
|
@ -4,6 +4,9 @@
|
|||
#include <pthread.h>
|
||||
#include <jni.h>
|
||||
|
||||
_Static_assert(sizeof(void *) <= sizeof(jlong),
|
||||
"jlong must be big enough to hold a platform raw pointer");
|
||||
|
||||
struct lpac_jni_ctx {
|
||||
jobject apdu_interface;
|
||||
jobject http_interface;
|
||||
|
|
Loading…
Reference in a new issue