Bugzilla Bug 303345: added comments for obsolete XP_MAC only enum constants
authorwtchang%redhat.com
Sat, 13 Aug 2005 00:20:49 +0000
changeset 3433 2300d6e036dd0593b1507e7883620331abeba840
parent 3431 1ed23cdc5ddf85f74b328ba73b3ce95c385a84e6
child 3435 08a3701a406a7300991a2c4450b9a3ad96a7f5a1
push idunknown
push userunknown
push dateunknown
bugs303345
Bugzilla Bug 303345: added comments for obsolete XP_MAC only enum constants and union members. r=joshmoz,sfraser.
pr/include/prlink.h
--- a/pr/include/prlink.h
+++ b/pr/include/prlink.h
@@ -120,39 +120,39 @@ NSPR_API(PRLibrary*) PR_LoadLibrary(cons
 **
 ** Right now PRLibSpec supports three types of library specification:
 ** a pathname, a Mac code fragment by name, and a Mac code fragment
 ** by index.
 */
 
 typedef enum PRLibSpecType {
     PR_LibSpec_Pathname,
-    PR_LibSpec_MacNamedFragment,
-    PR_LibSpec_MacIndexedFragment
+    PR_LibSpec_MacNamedFragment,   /* obsolete (for Mac OS Classic) */
+    PR_LibSpec_MacIndexedFragment  /* obsolete (for Mac OS Classic) */
 } PRLibSpecType;
 
 struct FSSpec; /* Mac OS FSSpec */
 
 typedef struct PRLibSpec {
     PRLibSpecType type;
     union {
         /* if type is PR_LibSpec_Pathname */
         const char *pathname;
 
         /* if type is PR_LibSpec_MacNamedFragment */
         struct {
             const struct FSSpec *fsspec;
             const char *name;
-        } mac_named_fragment;
+        } mac_named_fragment;      /* obsolete (for Mac OS Classic) */
 
         /* if type is PR_LibSpec_MacIndexedFragment */
         struct {
             const struct FSSpec *fsspec;
             PRUint32 index;
-        } mac_indexed_fragment;
+        } mac_indexed_fragment;    /* obsolete (for Mac OS Classic) */
     } value;
 } PRLibSpec;
 
 /*
 ** The following bit flags may be or'd together and passed
 ** as the 'flags' argument to PR_LoadLibraryWithFlags.
 ** Flags not supported by the underlying OS are ignored.
 */