/usr/include/bufIntDecls.h is in tcl-memchan-dev 2.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /*
* bufIntDecls.h --
*
* This file contains the declarations for all unsupported
* functions that are exported by the Buf library. These
* interfaces are not guaranteed to remain the same between
* versions. Use at your own risk.
*
*/
#ifndef _BUFINTDECLS
#define _BUFINTDECLS
/*
* WARNING: This file is automatically generated by the tools/genStubs.tcl
* script. Any modifications to the function declarations below should be made
* in the generic/bufInt.decls script.
*/
/* !BEGIN!: Do not edit below this line. */
/*
* Exported function declarations:
*/
typedef struct BufIntStubs {
int magic;
struct BufIntStubHooks *hooks;
} BufIntStubs;
#ifdef __cplusplus
extern "C" {
#endif
extern BufIntStubs *bufIntStubsPtr;
#ifdef __cplusplus
}
#endif
#if defined(USE_BUF_STUBS) && !defined(USE_BUF_STUB_PROCS)
/*
* Inline function declarations:
*/
#endif /* defined(USE_BUF_STUBS) && !defined(USE_BUF_STUB_PROCS) */
/* !END!: Do not edit above this line. */
/* Detect Tcl 8.4 and beyond => API CONSTification
*/
#define GT84 ((TCL_MAJOR_VERSION > 8) || \
((TCL_MAJOR_VERSION == 8) && \
(TCL_MINOR_VERSION >= 4)))
/* There are currently two cases to consider
*
* 1. An API function called with a const string, which was non-const
* in the relevant argument before 8.4 and is now const in that
* argument. This meanst that before 8.4 the actual parameter
* required a cast to unconst the value and doesn't require the
* cast for 8.4 and beyond.
*
* This is solved by the macro MC_UNCONSTB84
* = MemChan unCONST Before 8.4
*
* 2. ... Not yet.
*/
#if GT84
#define MC_UNCONSTB84
#else
#define MC_UNCONSTB84 (char*)
#endif
#endif /* _BUFINTDECLS */
|