Code cleanup: comment typos
This commit is contained in:
		@@ -459,7 +459,7 @@ enum InterpolationType {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* macros */
 | 
					/* macros */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* hints for branch pradiction, only use in code that runs a _lot_ */
 | 
					/* hints for branch prediction, only use in code that runs a _lot_ */
 | 
				
			||||||
#if defined(__GNUC__) && defined(__KERNEL_CPU__)
 | 
					#if defined(__GNUC__) && defined(__KERNEL_CPU__)
 | 
				
			||||||
#  define LIKELY(x)       __builtin_expect(!!(x), 1)
 | 
					#  define LIKELY(x)       __builtin_expect(!!(x), 1)
 | 
				
			||||||
#  define UNLIKELY(x)     __builtin_expect(!!(x), 0)
 | 
					#  define UNLIKELY(x)     __builtin_expect(!!(x), 0)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -195,8 +195,6 @@ enum {
 | 
				
			|||||||
#define G_TRANSFORM_SEQ         4
 | 
					#define G_TRANSFORM_SEQ         4
 | 
				
			||||||
#define G_TRANSFORM_FCURVES     8
 | 
					#define G_TRANSFORM_FCURVES     8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* G.special1 */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* Memory is allocated where? blender.c */
 | 
					/* Memory is allocated where? blender.c */
 | 
				
			||||||
extern Global G;
 | 
					extern Global G;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -460,7 +460,7 @@
 | 
				
			|||||||
#  define BLI_STATIC_ASSERT(a, msg)
 | 
					#  define BLI_STATIC_ASSERT(a, msg)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* hints for branch pradiction, only use in code that runs a _lot_ where */
 | 
					/* hints for branch prediction, only use in code that runs a _lot_ where */
 | 
				
			||||||
#ifdef __GNUC__
 | 
					#ifdef __GNUC__
 | 
				
			||||||
#  define LIKELY(x)       __builtin_expect(!!(x), 1)
 | 
					#  define LIKELY(x)       __builtin_expect(!!(x), 1)
 | 
				
			||||||
#  define UNLIKELY(x)     __builtin_expect(!!(x), 0)
 | 
					#  define UNLIKELY(x)     __builtin_expect(!!(x), 0)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -174,7 +174,7 @@ static PyObject *py_cb_array[BLI_CB_EVT_TOT] = {NULL};
 | 
				
			|||||||
static PyObject *make_app_cb_info(void)
 | 
					static PyObject *make_app_cb_info(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	PyObject *app_cb_info;
 | 
						PyObject *app_cb_info;
 | 
				
			||||||
	int pos = 0;
 | 
						int pos;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	app_cb_info = PyStructSequence_New(&BlenderAppCbType);
 | 
						app_cb_info = PyStructSequence_New(&BlenderAppCbType);
 | 
				
			||||||
	if (app_cb_info == NULL) {
 | 
						if (app_cb_info == NULL) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user