Another step in the Big Bpy Cleanup.
- move static declarations and data definitions out of headers. the BGL module still need cleaning. - move declarations out of modules.h and into appropriate .h files. modules.h still exists as a container for the few modules that need to #include almost everything. - all files now have a $Id tag and have been formatted by indent there are no changes to executable code. pre-commit versions are tagged with bpy-cleanup-pre-20041007 for the sake of paranoia.
This commit is contained in:
		@@ -45,7 +45,18 @@
 | 
			
		||||
#include <DNA_effect_types.h>
 | 
			
		||||
 | 
			
		||||
#include "gen_utils.h"
 | 
			
		||||
#include "bpy_types.h"
 | 
			
		||||
 | 
			
		||||
extern PyTypeObject Particle_Type;
 | 
			
		||||
 | 
			
		||||
#define BPy_Particle_Check(v) ((v)->ob_type==&Particle_Type)
 | 
			
		||||
 | 
			
		||||
/* Python BPy_Particle structure definition */
 | 
			
		||||
typedef struct {
 | 
			
		||||
	PyObject_HEAD		/* required py macro */
 | 
			
		||||
	Effect * particle;
 | 
			
		||||
} BPy_Particle;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*****************************************************************************/
 | 
			
		||||
/* Python API function prototypes for the Particle module.                   */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user