diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-07 15:55:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-07 15:55:35 (GMT) |
commit | 467d03dbc94f1e8b6ec74da6ac0f54ce4975bf10 (patch) | |
tree | 03949fda0c5247d6df80ba114da1ec1649060a89 /generic/tclInt.decls | |
parent | b8ffa18096ee9a37d5105ec6c48c0b6eeea7dbc4 (diff) | |
download | tcl-467d03dbc94f1e8b6ec74da6ac0f54ce4975bf10.zip tcl-467d03dbc94f1e8b6ec74da6ac0f54ce4975bf10.tar.gz tcl-467d03dbc94f1e8b6ec74da6ac0f54ce4975bf10.tar.bz2 |
Change (interal) function signature of TclpAlloc/TclpRealloc/TclpFree, using (void *) in stead of (char *)
Diffstat (limited to 'generic/tclInt.decls')
-rw-r--r-- | generic/tclInt.decls | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInt.decls b/generic/tclInt.decls index ec6b77f..5640fab 100644 --- a/generic/tclInt.decls +++ b/generic/tclInt.decls @@ -289,7 +289,7 @@ declare 64 { # int TclpAccess(const char *path, int mode) #} declare 69 { - char *TclpAlloc(unsigned int size) + void *TclpAlloc(unsigned int size) } #declare 70 { # int TclpCopyFile(const char *source, const char *dest) @@ -305,7 +305,7 @@ declare 69 { # int TclpDeleteFile(const char *path) #} declare 74 { - void TclpFree(char *ptr) + void TclpFree(void *ptr) } declare 75 { unsigned long TclpGetClicks(void) @@ -330,7 +330,7 @@ declare 77 {deprecated {}} { # char *modeString, int permissions) #} declare 81 { - char *TclpRealloc(char *ptr, unsigned int size) + void *TclpRealloc(void *ptr, unsigned int size) } #declare 82 { # int TclpRemoveDirectory(const char *path, int recursive, |