File: camlidlcompat.h

package info (click to toggle)
camlidl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,592 kB
  • sloc: ml: 5,238; ansic: 945; cpp: 908; makefile: 358; xml: 213; sh: 74
file content (83 lines) | stat: -rw-r--r-- 2,163 bytes parent folder | download | duplicates (3)
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
80
81
82
83
/***********************************************************************/
/*                                                                     */
/*                              CamlIDL                                */
/*                                                                     */
/*            Xavier Leroy, projet Cristal, INRIA Rocquencourt         */
/*                                                                     */
/*  Copyright 1999 Institut National de Recherche en Informatique et   */
/*  en Automatique.  All rights reserved.  This file is distributed    */
/*  under the terms of the GNU Library General Public License.         */
/*                                                                     */
/***********************************************************************/

/* $Id: camlidlcompat.h,v 1.4 2002-04-19 14:15:11 xleroy Exp $ */

/* Compatibility macros to share IDL source between CamlIDL and MIDL */

#ifdef CAMLIDL

/* Define away MIDL-specific attributes */
#define local
#define endpoint
#define version(x)
#define transmit_as(x)
#define implicit_handle
#define auto_handle
#define callback

/* Define away OLE/Automation attributes */
#define bindable
#define custom(x,y)
#define defaultbind
#define defaultcollelem
#define defaultvalue(x)
#define displaybind
#define dual
#define helpcontext(x)
#define helpstring(x)
#define helpstringcontext(x)
#define hidden
#define id(x)
#define immediatebind
#define lcid
#define nonbrowsable
#define nonextensible
#define odl
#define oleautomation
#define optional
#define readonly
#define replaceable
#define requestedit
#define restricted
#define retval
#define source
#define uidefault
#define usesgetlasterror
#define vararg

#else

/* Define away CamlIDL-specific attributes */
#define abstract
#define bigarray
#define camlint
#define compare(x)
#define c2ml(x)
#define errorcheck(x)
#define errorcode
#define finalize(x)
#define fortran
#define hash(x)
#define int_default(x)
#define int32
#define int64
#define long_default(x)
#define managed
#define ml2c(x)
#define mlname(x)
#define mltype(x)
#define mlname(x)
#define null_terminated
#define set

#endif