00001 #ifndef IG_OPEN_INVENTOR_IG_SB_STRING_H
00002 # define IG_OPEN_INVENTOR_IG_SB_STRING_H
00003
00004 # ifndef IGUANA_OBSOLETE
00005 # error This code is probably broken. If you use it, please let us know.
00006 # error If it is needed, it should be cleaned up and use IgSoShapeKit.
00007 # error Do not release it in CMS IGUANA before it is rewritten.
00008 # endif
00009
00010
00011
00012 #include <cstdlib>
00013 #include <cstring>
00014
00015
00016
00017 #define STRDUP(str) ((str) ? (strcpy ((char*) malloc ((unsigned) strlen (str) + 1), str)) : 0)
00018 #define STRDEL(str) { if ((str)) { free (str); str = NULL; }}
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #endif // IG_OPEN_INVENTOR_IG_SB_STRING_H