MCPcopy Create free account
hub / github.com/java-native-access/jna / checkCallingConvention

Method checkCallingConvention

src/com/sun/jna/Function.java:288–295  ·  view source on GitHub ↗
(int convention)

Source from the content-addressed store, hash-verified

286 }
287
288 private void checkCallingConvention(int convention)
289 throws IllegalArgumentException {
290 // TODO: perform per-platform calling convention checks
291 if ((convention & MASK_CC) != convention) {
292 throw new IllegalArgumentException("Unrecognized calling convention: "
293 + convention);
294 }
295 }
296
297 public String getName() {
298 return functionName;

Callers 1

FunctionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected