diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-10 10:31:16 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-10 10:31:16 +0400 |
commit | e343f7f3201eac6318fbcb55330a0b746f5fea03 (patch) | |
tree | de9f8a25793a3674128a42596a42066d4c2abad3 /source/blender/blenlib | |
parent | bbbdcaa462f1737edee58f66610231ccb4009d35 (diff) |
Inline the read Memory Buffer functions for speed optimizations.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_threads.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_threads.h b/source/blender/blenlib/BLI_threads.h index fb8771722c1..3b75797a3a9 100644 --- a/source/blender/blenlib/BLI_threads.h +++ b/source/blender/blenlib/BLI_threads.h @@ -31,6 +31,9 @@ /** \file BLI_threads.h * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif #include <pthread.h> @@ -139,5 +142,9 @@ int BLI_thread_queue_size(ThreadQueue *queue); void BLI_thread_queue_wait_finish(ThreadQueue *queue); void BLI_thread_queue_nowait(ThreadQueue *queue); +#ifdef __cplusplus +} +#endif + #endif |