TCL9: FIXME OPTIONAL magic.h ClientData
This did not work as expected. Maybe that indicate this should have a slighlt restructure so the tcl.h definition is always given a chance to provide type. Or maybe autoconf should detect the type and provide in config.h ?
This commit is contained in:
parent
3931c4aff1
commit
7e5d0b0688
|
|
@ -60,7 +60,15 @@ typedef int64_t dlong;
|
||||||
/* --------------------- Universal pointer type ----------------------- */
|
/* --------------------- Universal pointer type ----------------------- */
|
||||||
|
|
||||||
#ifndef _CLIENTDATA
|
#ifndef _CLIENTDATA
|
||||||
|
// #ifdef MAGIC_WRAPPER
|
||||||
|
//#error "ClientData type is not defined, but we are building with TCL support, so we expect TCL to provide this type definition"
|
||||||
|
// #endif
|
||||||
|
#ifndef NO_VOID
|
||||||
|
typedef void *ClientData;
|
||||||
|
#else
|
||||||
typedef pointertype ClientData;
|
typedef pointertype ClientData;
|
||||||
|
#endif
|
||||||
|
#define _CLIENTDATA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* this is not the (int) C type, but the conceptual difference between
|
/* this is not the (int) C type, but the conceptual difference between
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue