blender/source
Joshua Leung aa03132bc3 [Coder API's]: Added a "generic unique name-finding function".
Basically, this is based on the behaviour of the unique_constraint_name (or equivilant) functions, which have traditionally been duplicated everytime a new datatype needed this.

Currently, this is in use for the following things:
* Constraints
* Action/Bone Groups
* Local Action Markers / PoseLib poses

Usage Notes:
* The file in which this is to be used should include the standard header file <stddef.h>. This defines the offsetof() macro, which should be used to find the relative location of the "name" member of the structs
* This function is only designed for names of up to 128 chars in length (Most names are at most 32. TimeMarkers are 64). If a longer string needs to be handled, the function will need to be modified accordingly. 
* defname is the default name that should be used in case one hasn't been specified already
2008-01-20 23:53:13 +00:00
..
blender [Coder API's]: Added a "generic unique name-finding function". 2008-01-20 23:53:13 +00:00
creator Fixing makefiles for binreloc I made it use flags like other 2008-01-18 21:39:47 +00:00
darwin Filling in branch from trunk 2007-11-06 22:29:20 +00:00
gameengine This is a modified version of this patch: 2007-12-05 16:58:52 +00:00
icons Filling in branch from trunk 2007-11-06 22:29:20 +00:00
kernel Filling in branch from trunk 2007-11-06 22:29:20 +00:00
CMakeLists.txt Filling in branch from trunk 2007-11-06 22:29:20 +00:00
Makefile Fixing makefiles for binreloc I made it use flags like other 2008-01-18 21:39:47 +00:00
nan_compile.mk some changes needed to get blender compiling with 64bit libs, use the systems Mesa now. 2008-01-04 11:55:37 +00:00
nan_definitions.mk Fixing makefiles for binreloc I made it use flags like other 2008-01-18 21:39:47 +00:00
nan_link.mk some changes needed to get blender compiling with 64bit libs, use the systems Mesa now. 2008-01-04 11:55:37 +00:00
nan_subdirs.mk Filling in branch from trunk 2007-11-06 22:29:20 +00:00
nan_warn.mk Filling in branch from trunk 2007-11-06 22:29:20 +00:00
SConscript Filling in branch from trunk 2007-11-06 22:29:20 +00:00