jffiTypes = Collections.unmodifiableMap(m);
}
static Type jffiType(jnr.ffi.NativeType jnrType) {
Type jffiType = jffiTypes.get(jnrType);
if (jffiType != null) {
return jffiType;
}
throw new IllegalArgumentException("unsupported parameter type: " + jnrType);