UMEM.P
上传用户:hlzzc88
上传日期:2007-01-06
资源大小:220k
文件大小:1k
源码类别:

编译器/解释器

开发平台:

Others

  1. /* Protogen Version 1.07 Wednesday October 25, 1995  04:27:19 */
  2.                               /* Emsmem.c */
  3. EMSMEM *AllocateEMSMemory(long size, BYTE fill);
  4. void DeallocateEMSMemory(EMSMEM *mem);
  5. void ResizeEMSMemory(EMSMEM *mem, long size);
  6. BYTE *PtrToEMSMem(EMSMEM *mem, long offset);
  7.                                /* Hash.c */
  8. uint ComputeHash(char *string,int size);                          /* STATIC */
  9. HASHREC *AddHash(HASHREC **table, HASHREC *item);
  10. HASHREC **LookupHash(HASHREC **table, char *key);
  11. HASHREC **CreateHashTable(int size);
  12. void RemoveHashTable(HASHREC ** t);
  13.                              /* Allocate.c */
  14. void MemoryInit(uint size);
  15. void MemoryRundown(void);
  16. void release (void *buf);                                         /* STATIC */
  17. void *allocate(long size);                                        /* STATIC */
  18. void *ReallocateMemory(void *buf, uint size);
  19. void *AllocateMemory(uint size);
  20. void DeallocateMemory(void *pos);
  21.                                /* List.c */
  22. void AppendToList(LIST **list, void *data);
  23. void *UnlinkFromList(LIST **list, LIST *loc);