|
|
|||
File indexing completed on 2026-05-19 08:08:31
0001 // User modifiable memory allocator. 0002 0003 #ifndef _CL_MALLOC_H 0004 #define _CL_MALLOC_H 0005 0006 #include <cstdlib> 0007 0008 namespace cln { 0009 0010 // Function like malloc() which returns aligned memory of size (> 0) bytes. 0011 extern void* (*malloc_hook) (size_t size); 0012 // Function like free() which makes available for reuse such memory. 0013 extern void (*free_hook) (void* ptr); 0014 0015 } // namespace cln 0016 0017 #endif /* _CL_MALLOC_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|