mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			573 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			573 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /**
 | |
|  * @file tlib/injected/stdfunc.h
 | |
|  *
 | |
|  * @copyright 2014-2017 Bill Zissimopoulos
 | |
|  */
 | |
| 
 | |
| #ifndef TLIB_INJECTED_STDFUNC_H_INCLUDED
 | |
| #define TLIB_INJECTED_STDFUNC_H_INCLUDED
 | |
| 
 | |
| #include <stdlib.h>
 | |
| #include <errno.h>
 | |
| 
 | |
| #if defined(TLIB_INJECTIONS_ENABLED)
 | |
| #define calloc(count, size)             tlib_calloc(count, size)
 | |
| #define malloc(size)                    tlib_malloc(size)
 | |
| #define realloc(ptr, size)              tlib_realloc(ptr, size)
 | |
| #endif
 | |
| 
 | |
| void *tlib_calloc(size_t count, size_t size);
 | |
| void *tlib_malloc(size_t size);
 | |
| void *tlib_realloc(void *ptr, size_t size);
 | |
| 
 | |
| #endif
 |