physfs_internal.h
changeset 747 3da194b12f43
parent 743 8afd4cb34040
child 754 e7cd7411eadf
equal deleted inserted replaced
746:88780f7156d3 747:3da194b12f43
  1680 /*
  1680 /*
  1681  * Implement malloc. It's safe to just pass through from the C runtime.
  1681  * Implement malloc. It's safe to just pass through from the C runtime.
  1682  *  This is used for allocation if the user hasn't selected their own
  1682  *  This is used for allocation if the user hasn't selected their own
  1683  *  allocator via PHYSFS_setAllocator().
  1683  *  allocator via PHYSFS_setAllocator().
  1684  */
  1684  */
  1685 void *__PHYSFS_platformAllocatorMalloc(size_t s);
  1685 void *__PHYSFS_platformAllocatorMalloc(PHYSFS_uint64 s);
  1686 
  1686 
  1687 /*
  1687 /*
  1688  * Implement realloc. It's safe to just pass through from the C runtime.
  1688  * Implement realloc. It's safe to just pass through from the C runtime.
  1689  *  This is used for allocation if the user hasn't selected their own
  1689  *  This is used for allocation if the user hasn't selected their own
  1690  *  allocator via PHYSFS_setAllocator().
  1690  *  allocator via PHYSFS_setAllocator().
  1691  */
  1691  */
  1692 void *__PHYSFS_platformAllocatorRealloc(void *ptr, size_t s);
  1692 void *__PHYSFS_platformAllocatorRealloc(void *ptr, PHYSFS_uint64 s);
  1693 
  1693 
  1694 /*
  1694 /*
  1695  * Implement free. It's safe to just pass through from the C runtime.
  1695  * Implement free. It's safe to just pass through from the C runtime.
  1696  *  This is used for deallocation if the user hasn't selected their own
  1696  *  This is used for deallocation if the user hasn't selected their own
  1697  *  allocator via PHYSFS_setAllocator().
  1697  *  allocator via PHYSFS_setAllocator().