summaryrefslogtreecommitdiff
path: root/phpcpp.h
blob: 170613f4966bbf0b9be43b7df40cdcd242afadc0 (plain)
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
/**
 *  phpcpp.h
 *
 *  Library to build PHP extensions with CPP
 * 
 *  @copyright 2013 CopernicA BV
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 */

/**
 *  Other C and C++ libraries that PhpCpp depends on
 */
#include <string.h>
#include <string>
#include <initializer_list>
#include <vector>
#include <map>
#include <memory>
#include <set>

/**
 *  Include all headers files that are related to this library
 */
#include <phpcpp/type.h>
#include <phpcpp/value.h>
#include <phpcpp/hiddenpointer.h>
#include <phpcpp/environment.h>
#include <phpcpp/argument.h>
#include <phpcpp/byval.h>
#include <phpcpp/byref.h>
#include <phpcpp/global.h>
#include <phpcpp/hashmember.h>
#include <phpcpp/parameters.h>
#include <phpcpp/function.h>
#include <phpcpp/properties.h>
#include <phpcpp/base.h>
#include <phpcpp/method.h>
#include <phpcpp/member.h>
#include <phpcpp/public.h>
#include <phpcpp/protected.h>
#include <phpcpp/members.h>
#include <phpcpp/class.h>
#include <phpcpp/classinfo.h>
#include <phpcpp/extension.h>
#include <phpcpp/exception.h>

/**
 *  Macro to export a function
 */
#if defined(__GNUC__) && __GNUC__ >= 4
#   define PHPCPP_EXPORT __attribute__ ((visibility("default")))
#else
#   define PHPCPP_EXPORT
#endif