-
- Downloads
General housekeeping and cleanup. Move static declarations and
data definitions from .h files into corresponding .c files. Blame zr for this since he's the one who pointed out that our bpy headers were a mish-mash of stuff that belonged in the .c files! In a nutshell, the headers should contain the declarations necessary to use a module or class. The implementation files ( .c in this case ) should contain statements that allocate storage ( definitions in the C sense ) and executable code. When used at file scope, the keyword 'static' means "don't tell anyone else about this". Since headers describe a public interface, static declarations and definitions belong in the implementation files. The net result of all this is that after stuff has moved out into the .c files, the .h files are empty or mostly empty. I didn't delete them since there seem to be some public declarations and because I did not want to cause too much disruption at one time. Time enough for that later!
Showing
- source/blender/python/api2_2x/BezTriple.c 197 additions, 65 deletionssource/blender/python/api2_2x/BezTriple.c
- source/blender/python/api2_2x/BezTriple.h 6 additions, 87 deletionssource/blender/python/api2_2x/BezTriple.h
- source/blender/python/api2_2x/Curve.c 690 additions, 381 deletionssource/blender/python/api2_2x/Curve.c
- source/blender/python/api2_2x/Curve.h 2 additions, 193 deletionssource/blender/python/api2_2x/Curve.h
- source/blender/python/api2_2x/Draw.c 1056 additions, 691 deletionssource/blender/python/api2_2x/Draw.c
- source/blender/python/api2_2x/Draw.h 27 additions, 274 deletionssource/blender/python/api2_2x/Draw.h
- source/blender/python/api2_2x/Ipo.c 731 additions, 413 deletionssource/blender/python/api2_2x/Ipo.c
- source/blender/python/api2_2x/Ipo.h 6 additions, 146 deletionssource/blender/python/api2_2x/Ipo.h
- source/blender/python/api2_2x/Ipocurve.c 336 additions, 163 deletionssource/blender/python/api2_2x/Ipocurve.c
- source/blender/python/api2_2x/Ipocurve.h 7 additions, 121 deletionssource/blender/python/api2_2x/Ipocurve.h
- source/blender/python/api2_2x/bpy_types.h 64 additions, 58 deletionssource/blender/python/api2_2x/bpy_types.h
Loading
Please sign in to comment