diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-17 22:59:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-17 22:59:41 +0400 |
commit | 2b7ca2304a9b17568fac57a0bceba72b9c9ab580 (patch) | |
tree | 0cb3492a7d6624bca9390375a5b20bd5b86f76d5 /intern/memutil/MEM_CacheLimiterC-Api.h | |
parent | 99d0ba6299d9f2acdf2446b2f52e812877ebcc70 (diff) |
unify include guard defines, __$FILENAME__
without the underscores these clogged up the namespace for autocompleation which was annoying.
Diffstat (limited to 'intern/memutil/MEM_CacheLimiterC-Api.h')
-rw-r--r-- | intern/memutil/MEM_CacheLimiterC-Api.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/memutil/MEM_CacheLimiterC-Api.h b/intern/memutil/MEM_CacheLimiterC-Api.h index c8672fa03fd..4ed692fb55f 100644 --- a/intern/memutil/MEM_CacheLimiterC-Api.h +++ b/intern/memutil/MEM_CacheLimiterC-Api.h @@ -25,8 +25,8 @@ */ -#ifndef MEM_CACHELIMITERC_API_H -#define MEM_CACHELIMITERC_API_H +#ifndef __MEM_CACHELIMITERC_API_H__ +#define __MEM_CACHELIMITERC_API_H__ #ifdef __cplusplus extern "C" { @@ -44,10 +44,10 @@ typedef void(*MEM_CacheLimiter_Destruct_Func)(void*); /* function used to measure stored data element size */ typedef size_t(*MEM_CacheLimiter_DataSize_Func) (void*); -#ifndef MEM_CACHELIMITER_H +#ifndef __MEM_CACHELIMITER_H__ extern void MEM_CacheLimiter_set_maximum(size_t m); extern int MEM_CacheLimiter_get_maximum(void); -#endif // MEM_CACHELIMITER_H +#endif /* __MEM_CACHELIMITER_H__ */ /** * Create new MEM_CacheLimiter object * managed objects are destructed with the data_destructor @@ -145,4 +145,4 @@ extern void * MEM_CacheLimiter_get(MEM_CacheLimiterHandleC * handle); #endif -#endif // MEM_CACHELIMITERC_API_H +#endif // __MEM_CACHELIMITERC_API_H__ |