summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-03-25 13:06:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-03-25 13:06:53 (GMT)
commitf19cbcbff50d1926240759ab4e4bfcd0cc6e54d9 (patch)
tree70ba413e0fcfea2be7f845c9210ed9de0cc17a63 /generic/tclDecls.h
parentc7039276a0e64e1cc8f2d8a813a9007eee1e89fa (diff)
downloadtcl-f19cbcbff50d1926240759ab4e4bfcd0cc6e54d9.zip
tcl-f19cbcbff50d1926240759ab4e4bfcd0cc6e54d9.tar.gz
tcl-f19cbcbff50d1926240759ab4e4bfcd0cc6e54d9.tar.bz2
New routines Tcl_FetchIntRep() and Tcl_StoreIntRep().
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 7114ad9..609ec86 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -1821,6 +1821,13 @@ EXTERN void Tcl_FreeIntRep(Tcl_Obj *objPtr);
/* 632 */
EXTERN char * Tcl_InitStringRep(Tcl_Obj *objPtr, const char *bytes,
unsigned int numBytes);
+/* 633 */
+EXTERN const Tcl_ObjIntRep * Tcl_FetchIntRep(Tcl_Obj *objPtr,
+ const Tcl_ObjType *typePtr);
+/* 634 */
+EXTERN void Tcl_StoreIntRep(Tcl_Obj *objPtr,
+ const Tcl_ObjType *typePtr,
+ Tcl_ObjIntRep *irPtr);
typedef struct {
const struct TclPlatStubs *tclPlatStubs;
@@ -2489,6 +2496,8 @@ typedef struct TclStubs {
void (*tcl_ZlibStreamSetCompressionDictionary) (Tcl_ZlibStream zhandle, Tcl_Obj *compressionDictionaryObj); /* 630 */
void (*tcl_FreeIntRep) (Tcl_Obj *objPtr); /* 631 */
char * (*tcl_InitStringRep) (Tcl_Obj *objPtr, const char *bytes, unsigned int numBytes); /* 632 */
+ const Tcl_ObjIntRep * (*tcl_FetchIntRep) (Tcl_Obj *objPtr, const Tcl_ObjType *typePtr); /* 633 */
+ void (*tcl_StoreIntRep) (Tcl_Obj *objPtr, const Tcl_ObjType *typePtr, Tcl_ObjIntRep *irPtr); /* 634 */
} TclStubs;
extern const TclStubs *tclStubsPtr;
@@ -3785,6 +3794,10 @@ extern const TclStubs *tclStubsPtr;
(tclStubsPtr->tcl_FreeIntRep) /* 631 */
#define Tcl_InitStringRep \
(tclStubsPtr->tcl_InitStringRep) /* 632 */
+#define Tcl_FetchIntRep \
+ (tclStubsPtr->tcl_FetchIntRep) /* 633 */
+#define Tcl_StoreIntRep \
+ (tclStubsPtr->tcl_StoreIntRep) /* 634 */
#endif /* defined(USE_TCL_STUBS) */