Commit 0d1563c5 authored by mkaply%us.ibm.com's avatar mkaply%us.ibm.com
Browse files

OS/2 bustage - PR_CALLBACK stuff

parent bb4d10c5
Loading
Loading
Loading
Loading
+21 −21
Original line number Diff line number Diff line
@@ -181,24 +181,24 @@ protected:

  static PLDHashTableOps sOps;

  static const void* s_GetKey(PLDHashTable    *table,
  static const void* PR_CALLBACK s_GetKey(PLDHashTable    *table,
                                          PLDHashEntryHdr *entry);

  static PLDHashNumber s_HashKey(PLDHashTable *table,
  static PLDHashNumber PR_CALLBACK s_HashKey(PLDHashTable *table,
                                             const void   *key);

  static PRBool s_MatchEntry(PLDHashTable           *table,
  static PRBool PR_CALLBACK s_MatchEntry(PLDHashTable           *table,
                                         const PLDHashEntryHdr  *entry,
                                         const void             *key);
  
  static void s_CopyEntry(PLDHashTable          *table,
  static void PR_CALLBACK s_CopyEntry(PLDHashTable          *table,
                                      const PLDHashEntryHdr *from,
                                      PLDHashEntryHdr       *to);
  
  static void s_ClearEntry(PLDHashTable *table,
  static void PR_CALLBACK s_ClearEntry(PLDHashTable *table,
                                       PLDHashEntryHdr *entry);

  static void s_InitEntry(PLDHashTable     *table,
  static void PR_CALLBACK s_InitEntry(PLDHashTable     *table,
                                      PLDHashEntryHdr  *entry,
                                      const void       *key);

@@ -215,14 +215,14 @@ protected:
    void* userArg;
  };
  
  static PLDHashOperator s_EnumStub(PLDHashTable    *table,
  static PLDHashOperator PR_CALLBACK s_EnumStub(PLDHashTable    *table,
                                                PLDHashEntryHdr *entry,
                                                PRUint32         number,
                                                void            *arg);
};

// helper function for Reset()
PR_EXTERN(PLDHashOperator)
PLDHashOperator PR_CALLBACK
PL_DHashStubEnumRemove(PLDHashTable    *table,
                       PLDHashEntryHdr *entry,
                       PRUint32         ordinal,