Cleanup: warnings, spelling

This commit is contained in:
Campbell Barton
2020-07-06 17:35:41 +10:00
parent 0f617cd67e
commit 4f3045999d
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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),