Closed
Bug 15691
Opened 25 years ago
Closed 25 years ago
New Mac library loading API calls
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: wtc)
Details
Attachments
(1 file)
I added two new Mac-only shared library loading calls. These are implemented in prlink.c, and exposed in prlink_mac.h: /* ** PR_LoadNamedFragment ** ** Load a code fragment by fragment name from the data fork of the specified file. ** The fragment name is an internal name which uniquely identifies a code ** fragment; this call opens the 'cfrg' resource in the file to find the ** offsets of the named fragment. ** ** If the specified fragment exists, it is loaded and an entry created ** in the load map (keyed by fragment name). ** ** If fileSpec points to an alias, the alias is resolved by this call. */ PR_EXTERN(PRLibrary*) PR_LoadNamedFragment(const FSSpec *fileSpec, const char* fragmentName); /* ** PR_LoadIndexedFragment ** ** Load a code fragment by fragment index from the data fork of the specified file ** (since Mac shared libraries can contain multiple code fragments). ** This call opens the 'cfrg' resource in the file to find the offsets ** of the named fragment. ** ** If the specified fragment exists, it is loaded and an entry created ** in the load map (keyed by fragment name). ** ** If fileSpec points to an alias, the alias is resolved by this call. ** */ PR_EXTERN(PRLibrary*) PR_LoadIndexedFragment(const FSSpec *fileSpec, PRUint32 fragIndex);
Assignee | ||
Comment 1•25 years ago
|
||
Simon, this bug is fixed, right?
Reporter | ||
Comment 2•25 years ago
|
||
Yes, fixed, as long as it survived migration to 3.5. sdagley?
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
Yes, it survived migration to NSPR 3.5. Marked the bug fixed.
Assignee | ||
Comment 4•25 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•