Code cleanup: use struct type for mempool & style edits
This commit is contained in:
parent
c777f691ad
commit
82628a6b0e
|
@ -197,9 +197,6 @@ typedef uint64_t u_int64_t;
|
|||
|
||||
#endif /* ifdef platform for types */
|
||||
|
||||
|
||||
/* note: use of (int, TRUE / FALSE) is deprecated,
|
||||
* use (bool, true / false) instead */
|
||||
#ifdef HAVE_STDBOOL_H
|
||||
# include <stdbool.h>
|
||||
#elif !defined(__bool_true_false_are_defined) && !defined(__BOOL_DEFINED)
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef struct CustomData {
|
|||
int pad[1];
|
||||
int totlayer, maxlayer; /* number of layers, size of layers array */
|
||||
int totsize; /* in editmode, total size of all data layers */
|
||||
void *pool; /* Bmesh: Memory pool for allocation of blocks */
|
||||
struct BLI_mempool *pool; /* (BMesh Only): Memory pool for allocation of blocks */
|
||||
CustomDataExternal *external; /* external file storing customdata layers */
|
||||
} CustomData;
|
||||
|
||||
|
|
Loading…
Reference in New Issue