On Tue, Apr 9, 2013 at 8:39 AM, David DeHaven <david.dehaven at oracle.com>wrote: > > > [ cc'ing awt-dev@ ] > > > > Probably gcc can't process typedefs with visibility attributes > specified, hence the changes to AWT. Generally they look good. > > It's not necessary for those typedefs as those types are not being used to > define exported functions. The way it was being used in awt_LoadLibrary.c > doesn't make any sense. It shouldn't be used for typedefs at all, it's used > to mark a specific function for export which has nothing to do with the > functions signature. > > Right. Use of JNIEXPORT in a typedef is a bug, essentially. (Except that the semantics of JNIEXPORT and JNICALL are not actually documented anywhere AFAIK; I'm using the "obvious" semantics of JNIEXPORT)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4