/[jscoverage]/trunk/js/jshash.h
ViewVC logotype

Diff of /trunk/js/jshash.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 332 by siliconforks, Thu Oct 23 19:03:33 2008 UTC revision 507 by siliconforks, Sun Jan 10 07:23:34 2010 UTC
# Line 67  Line 67 
67    
68  typedef struct JSHashAllocOps {  typedef struct JSHashAllocOps {
69      void *              (*allocTable)(void *pool, size_t size);      void *              (*allocTable)(void *pool, size_t size);
70      void                (*freeTable)(void *pool, void *item);      void                (*freeTable)(void *pool, void *item, size_t size);
71      JSHashEntry *       (*allocEntry)(void *pool, const void *key);      JSHashEntry *       (*allocEntry)(void *pool, const void *key);
72      void                (*freeEntry)(void *pool, JSHashEntry *he, uintN flag);      void                (*freeEntry)(void *pool, JSHashEntry *he, uintN flag);
73  } JSHashAllocOps;  } JSHashAllocOps;
# Line 115  Line 115 
115  extern JS_PUBLIC_API(JSHashEntry **)  extern JS_PUBLIC_API(JSHashEntry **)
116  JS_HashTableRawLookup(JSHashTable *ht, JSHashNumber keyHash, const void *key);  JS_HashTableRawLookup(JSHashTable *ht, JSHashNumber keyHash, const void *key);
117    
118    #ifdef __cplusplus
119  extern JS_PUBLIC_API(JSHashEntry *)  extern JS_PUBLIC_API(JSHashEntry *)
120  JS_HashTableRawAdd(JSHashTable *ht, JSHashEntry **hep, JSHashNumber keyHash,  JS_HashTableRawAdd(JSHashTable *ht, JSHashEntry **&hep, JSHashNumber keyHash,
121                     const void *key, void *value);                     const void *key, void *value);
122    #endif
123    
124  extern JS_PUBLIC_API(void)  extern JS_PUBLIC_API(void)
125  JS_HashTableRawRemove(JSHashTable *ht, JSHashEntry **hep, JSHashEntry *he);  JS_HashTableRawRemove(JSHashTable *ht, JSHashEntry **hep, JSHashEntry *he);

Legend:
Removed from v.332  
changed lines
  Added in v.507

  ViewVC Help
Powered by ViewVC 1.1.24