Cleanup: warnings, spelling
This commit is contained in:
@@ -47,9 +47,9 @@ enum {
|
||||
};
|
||||
|
||||
typedef struct IDCacheKey {
|
||||
/* The session uuid of the ID owning the cached data. */
|
||||
/* The session UUID of the ID owning the cached data. */
|
||||
unsigned int id_session_uuid;
|
||||
/* Value uniquely indentifying the cache whithin its ID.
|
||||
/* Value uniquely identifying the cache within its ID.
|
||||
* Typically the offset of its member in the data-block struct, but can be anything. */
|
||||
size_t offset_in_ID;
|
||||
/* Actual address of the cached data to save and restore. */
|
||||
@@ -59,7 +59,7 @@ typedef struct IDCacheKey {
|
||||
uint BKE_idtype_cache_key_hash(const void *key_v);
|
||||
bool BKE_idtype_cache_key_cmp(const void *key_a_v, const void *key_b_v);
|
||||
|
||||
/* ********** Prototypes for IDTypeInfo callbacks. ********** */
|
||||
/* ********** Prototypes for #IDTypeInfo callbacks. ********** */
|
||||
|
||||
typedef void (*IDTypeInitDataFunction)(struct ID *id);
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ void BLI_mutex_free(ThreadMutex *mutex)
|
||||
|
||||
/* Spin Locks */
|
||||
|
||||
#if WITH_TBB
|
||||
#ifdef WITH_TBB
|
||||
static tbb::spin_mutex *tbb_spin_mutex_cast(SpinLock *spin)
|
||||
{
|
||||
static_assert(sizeof(SpinLock) >= sizeof(tbb::spin_mutex),
|
||||
|
||||
Reference in New Issue
Block a user