diff options
author | Peter Schlaile <peter@schlaile.de> | 2007-01-18 21:22:06 +0300 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2007-01-18 21:22:06 +0300 |
commit | ebbd85de257aff529eb82d176b006cd015f9afd8 (patch) | |
tree | d2c107920466365327832e4d1959c1f0b3bfc7f3 /intern/memutil/MEM_CacheLimiterC-Api.h | |
parent | 6b67ba00bbdc7324a74b0eb90685ecb6bbc3b3a8 (diff) |
== Sequencer ==
This fixes Bug #5299 (patch by Vladimir Marek (neuron) ), silencing
Sun CC, which is very picky in it's name mangling behaviour.
Diffstat (limited to 'intern/memutil/MEM_CacheLimiterC-Api.h')
-rw-r--r-- | intern/memutil/MEM_CacheLimiterC-Api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/memutil/MEM_CacheLimiterC-Api.h b/intern/memutil/MEM_CacheLimiterC-Api.h index c21b91491e8..f06acb5adea 100644 --- a/intern/memutil/MEM_CacheLimiterC-Api.h +++ b/intern/memutil/MEM_CacheLimiterC-Api.h @@ -37,6 +37,9 @@ struct MEM_CacheLimiterHandle_s; typedef struct MEM_CacheLimiter_s MEM_CacheLimiterC; 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__ extern void MEM_CacheLimiter_set_maximum(int m); extern int MEM_CacheLimiter_get_maximum(); @@ -50,7 +53,7 @@ extern int MEM_CacheLimiter_get_maximum(); */ extern MEM_CacheLimiterC * new_MEM_CacheLimiter( - void (*data_destructor) (void * data)); + MEM_CacheLimiter_Destruct_Func data_destructor); /** * Delete MEM_CacheLimiter |