File: memchan.h

package info (click to toggle)
memchan 2.3%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,356 kB
  • sloc: ansic: 3,320; sh: 990; tcl: 687; makefile: 48
file content (49 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (4)
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
/* memchan.h - Copyright (C) 2004 Pat Thoyts <patthoyts@users.sourceforge.net>
 *
 * Public API to Memchan
 *
 * $Id: memchan.h,v 1.1 2004/11/09 23:11:00 patthoyts Exp $
 *
 */

#ifndef _MEMCHAN_H_INCLUDE 
#define _MEMCHAN_H_INCLUDE

#include <tcl.h>

/*
 * Windows needs to know which symbols to export.  Unix does not.
 * BUILD_Memchan should be undefined for Unix.
 */

#undef TCL_STORAGE_CLASS
#ifdef BUILD_Memchan
#define TCL_STORAGE_CLASS DLLEXPORT
#else
#ifdef USE_MEMCHAN_STUBS
#define TCL_STORAGE_CLASS
#else
#define TCL_STORAGE_CLASS DLLIMPORT
#endif /* USE_MEMCHAN_STUBS */
#endif /* BUILD_Memchan */


#ifdef __cplusplus
extern "C" {
#endif

#include "memchanDecls.h"

#ifdef USE_MEMCHAN_STUBS
EXTERN CONST char * 
Memchan_InitStubs(Tcl_Interp *interp, CONST char *version, int exact);
#endif

#ifdef __cplusplus
}
#endif /* C++ */

#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT

#endif /* _MEMCHAN_H_INCLUDE */