Blender Git Commit Log

Git Commits -> Revision f3feb77

Revision f3feb77 by Stephen Swaney (master)
March 29, 2004, 08:16 (GMT)
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!

Commit Details:

Full Hash: f3feb77918142cbff73536b40568997482f0846b
SVN Revision: 2188
Parent Commit: 0a6d0e6
Lines Changed: +3122, -2592

11 Modified Paths:

/source/blender/python/api2_2x/BezTriple.c (+197, -65) (Diff)
/source/blender/python/api2_2x/BezTriple.h (+6, -87) (Diff)
/source/blender/python/api2_2x/bpy_types.h (+64, -58) (Diff)
/source/blender/python/api2_2x/Curve.c (+690, -381) (Diff)
/source/blender/python/api2_2x/Curve.h (+2, -193) (Diff)
/source/blender/python/api2_2x/Draw.c (+1056, -691) (Diff)
/source/blender/python/api2_2x/Draw.h (+27, -274) (Diff)
/source/blender/python/api2_2x/Ipo.c (+731, -413) (Diff)
/source/blender/python/api2_2x/Ipo.h (+6, -146) (Diff)
/source/blender/python/api2_2x/Ipocurve.c (+336, -163) (Diff)
/source/blender/python/api2_2x/Ipocurve.h (+7, -121) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021