Closed Bug 501434 Opened 15 years ago Closed 12 years ago

3 symbols wrongly exported as C++ mangled symbols

Categories

(Core :: JavaScript Engine, defect)

1.9.1 Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glandium, Unassigned)

Details

The 3 following C++ mangled symbols are exported from libmozjs.so: _Z19js_obj_defineGetterP9JSContextjPl _Z20resolving_MatchEntryP12JSDHashTablePK15JSDHashEntryHdrPKv _Z19js_obj_defineSetterP9JSContextjPl They correspond to the following functions: js_obj_defineGetter(JSContext*, unsigned int, long*) resolving_MatchEntry(JSDHashTable*, JSDHashEntryHdr const*, void const*) js_obj_defineSetter(JSContext*, unsigned int, long*) The problem is that these functions are marked as exported and not hidden, yet are not defined in the header files in the extern "C" sections that would avoid this to happen. If these functions are not in the public headers, maybe they don't need to be exported at all ? Or maybe they should be added to the headers. In both cases, please tell me which case applies, so that I can send the appropriate patch.
We've uninstalled jsobj.h.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.