Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
818 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Insert this file into all projects using the memory system
  4. // It will cause that project to use the shader memory allocator
  5. //
  6. // $NoKeywords: $
  7. //=============================================================================//
  8. #ifdef SN_TARGET_PS3
  9. struct MemOverrideRawCrtFunctions_t
  10. {
  11. void * (*pfn_malloc)( size_t size );
  12. void * (*pfn_calloc)( size_t nelem, size_t size );
  13. void * (*pfn_memalign)(size_t boundary, size_t size_arg);
  14. void * (*pfn_realloc)( void *p, size_t size_arg );
  15. void * (*pfn_reallocalign)( void *p, size_t size_arg, size_t boundary );
  16. size_t (*pfn_malloc_usable_size)( void *p );
  17. int (*pfn_malloc_stats)( struct malloc_managed_size *mms );
  18. void (*pfn_free)( void *p );
  19. };
  20. #endif