MCPcopy Create free account
hub / github.com/OpenSC/OpenSC-Java / jnixThrowExceptionV

Function jnixThrowExceptionV

jni/src/jnix/jnix.c:75–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75int jnixThrowExceptionV(JNIEnv *env,
76 const char *class_name,
77 const char *fmt, va_list ap)
78{
79 int sz = 1024;
80
81 do
82 {
83#ifdef WIN32
84 jnixThrowExceptionInternal(&sz,env,class_name,fmt,ap);
85#else
86 va_list aq;
87 va_copy(aq,ap);
88 jnixThrowExceptionInternal(&sz,env,class_name,fmt,aq);
89 va_end(aq);
90#endif
91 }
92 while (sz);
93
94 return -1;
95}
96
97
98static void jnixThrowExceptionInternalI(int *sz,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected