diff options
author | andy <andrew.m.goth@gmail.com> | 2016-12-13 01:27:25 (GMT) |
---|---|---|
committer | andy <andrew.m.goth@gmail.com> | 2016-12-13 01:27:25 (GMT) |
commit | 06e138e871b01b6684e91910664bcefe1e01d969 (patch) | |
tree | 4b39cc37d626c7bc7f25783832dbb58fa823ace4 /generic/regcustom.h | |
parent | 75abd6bb662ec2650847427da15a629842b3a63f (diff) | |
parent | 6da0c767cd83c18aa8a2c152ad6b0298ea4f28ab (diff) | |
download | tcl-lanam_array_for_impl.zip tcl-lanam_array_for_impl.tar.gz tcl-lanam_array_for_impl.tar.bz2 |
Merge trunklanam_array_for_impl
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r-- | generic/regcustom.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h index 681b97d..c4dbc73 100644 --- a/generic/regcustom.h +++ b/generic/regcustom.h @@ -36,10 +36,9 @@ * Overrides for regguts.h definitions, if any. */ -#define FUNCPTR(name, args) (*name)args -#define MALLOC(n) VS(attemptckalloc(n)) -#define FREE(p) ckfree(VS(p)) -#define REALLOC(p,n) VS(attemptckrealloc(VS(p),n)) +#define MALLOC(n) (void*)(attemptckalloc(n)) +#define FREE(p) ckfree((void*)(p)) +#define REALLOC(p,n) (void*)(attemptckrealloc((void*)(p),n)) /* * Do not insert extras between the "begin" and "end" lines - this chunk is |