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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/******************************************************************************/
/* */
/* Copyright (c)The 3Delight Developers. */
/* All Rights Reserved. */
/* */
/******************************************************************************/
/*
LIBRARY
3delight
FILENAME
dlInterface.h
AUTHOR(S)
Marco Jacques
VERSION
$Revision$
DATE RELEASED
$Date$
RCSID
$Id$
COPYRIGHT
Copyright � 1999-2000 The 3Delight Developers.
All Rights Reserved.
*/
/*
This will be included for files which must import or export symbol from the
3DL library. It will avoid having the required definitions scattered at
differents places
*/
/*
Macro DL_INTERFACE
This macro prefixes, in header files, functions and variables which are
exported from the 3Delight library.
On unix systems, it uses the gcc visibility attribute to ensure the symbol
is exported even if the code is built with -fvisibility=hidden.
On Windows, it needs to add __declspec(dllexport) when building the library
(ie. exporting the symbol). When using the symbol from somewhere else (ie.
linking against lib3delight), it should instead add __declspec(dllimport).
Unlike dllexport, dllimport is optional and will only improve call
performance.
*/
/*
Macro DL_EXPORT_VAR
This macro is used only in cpp files for exporting variables.
*/
/*
Macro _3DL_EXTERN_C
Use to declare functions with C calling convention in headers which might
be compiled as both C or C++.
*/