ochafik/nativelibs4java — Issue #226: JNAerator thinks visibility attribute is a function
Author: kazocsaba
Created: 2012-01-04 12:05:29+00:00
State: open

The following kind of function declarations:

__attribute__((visibility("default"))) int fun();

cause JNAerator to generate two functions:

public static native void visibility();
public static native int fun();

(BridJ) or

int visibility();
int fun();

(JNA).