diff options
Diffstat (limited to 'intern/memutil/MEM_CacheLimiterC-Api.h')
-rw-r--r-- | intern/memutil/MEM_CacheLimiterC-Api.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/intern/memutil/MEM_CacheLimiterC-Api.h b/intern/memutil/MEM_CacheLimiterC-Api.h index 0e53a0b0e0d..4116d05e42f 100644 --- a/intern/memutil/MEM_CacheLimiterC-Api.h +++ b/intern/memutil/MEM_CacheLimiterC-Api.h @@ -21,8 +21,8 @@ * ***** END GPL LICENSE BLOCK ***** */ -#ifndef __MEM_cache_limiter_c_api_h_included__ -#define __MEM_cache_limiter_c_api_h_included__ 1 +#ifndef MEM_CACHELIMITERC_API_H +#define MEM_CACHELIMITERC_API_H #ifdef __cplusplus extern "C" { @@ -37,10 +37,10 @@ typedef struct MEM_CacheLimiterHandle_s MEM_CacheLimiterHandleC; /* function used to remove data from memory */ typedef void(*MEM_CacheLimiter_Destruct_Func)(void*); -#ifndef __MEM_cache_limiter_h_included__ +#ifndef MEM_CACHELIMITER_H extern void MEM_CacheLimiter_set_maximum(int m); extern int MEM_CacheLimiter_get_maximum(void); -#endif +#endif // MEM_CACHELIMITER_H /** * Create new MEM_CacheLimiter object * managed objects are destructed with the data_destructor @@ -137,5 +137,4 @@ extern void * MEM_CacheLimiter_get(MEM_CacheLimiterHandleC * handle); #endif -#endif - +#endif // MEM_CACHELIMITERC_API_H |