summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeCtrl.h
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-10-26 03:00:32 (GMT)
committertreectrl <treectrl>2006-10-26 03:00:32 (GMT)
commita3f289609685a070bec77addfaf581d00e607e50 (patch)
tree4b77dc077674f883fe821d8e279c6aa0f67dda38 /generic/tkTreeCtrl.h
parent6f3ebe0717caf2f9609bd66953be7e67ec62f07e (diff)
downloadtktreectrl-a3f289609685a070bec77addfaf581d00e607e50.zip
tktreectrl-a3f289609685a070bec77addfaf581d00e607e50.tar.gz
tktreectrl-a3f289609685a070bec77addfaf581d00e607e50.tar.bz2
Changed dynamic-option code to use AllocHax_xxx.
Diffstat (limited to 'generic/tkTreeCtrl.h')
-rw-r--r--generic/tkTreeCtrl.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/generic/tkTreeCtrl.h b/generic/tkTreeCtrl.h
index 061fb0e..4353774 100644
--- a/generic/tkTreeCtrl.h
+++ b/generic/tkTreeCtrl.h
@@ -7,7 +7,7 @@
* Copyright (c) 2002-2003 Christian Krone
* Copyright (c) 2003 ActiveState Corporation
*
- * RCS: @(#) $Id: tkTreeCtrl.h,v 1.57 2006/10/25 03:48:15 treectrl Exp $
+ * RCS: @(#) $Id: tkTreeCtrl.h,v 1.58 2006/10/26 03:00:32 treectrl Exp $
*/
#include "tkPort.h"
@@ -1028,14 +1028,16 @@ struct DynamicOption
typedef void (DynamicOptionInitProc)(char *data);
-extern DynamicOption *DynamicOption_AllocIfNeeded(DynamicOption **firstPtr,
- int id, int size, DynamicOptionInitProc *init);
+extern DynamicOption *DynamicOption_AllocIfNeeded(TreeCtrl *tree,
+ DynamicOption **firstPtr, int id, int size, DynamicOptionInitProc *init);
extern char *DynamicOption_FindData(DynamicOption *first, int id);
-extern void DynamicOption_Free(DynamicOption *first);
-
+extern void DynamicOption_Free(TreeCtrl *tree, DynamicOption *first,
+ Tk_OptionSpec *optionTable);
+extern void DynamicOption_Free1(TreeCtrl *tree, DynamicOption **firstPtr,
+ int id, int size);
extern int DynamicCO_Init(Tk_OptionSpec *optionTable, CONST char *optionName,
int id, int size, int objOffset, int internalOffset,
- Tk_ObjCustomOption *custom,DynamicOptionInitProc *init);
+ Tk_ObjCustomOption *custom, DynamicOptionInitProc *init);
extern Tk_ObjCustomOption pixelsCO;
extern Tk_ObjCustomOption stringCO;