summaryrefslogtreecommitdiff
path: root/src/includes.h
blob: 3c1f26f9ea6025af82ae07c12ee6089a8ae303ff (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
/**
 *  Includes.h
 *
 *  Startup include file to compile the phpcpp library
 *
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 *  @copyright 2013 Copernica BV
 */

/**
 *  Include standard C and C++ libraries
 */
#include <stdlib.h>
#include <string>
#include <initializer_list>
#include <vector>
#include <map>
#include <memory>
#include <set>

// for debugging
#include <iostream>

/**
 *  PHP includes
 */
#include "php.h"

/**
 *  Macro to convert results to success status
 */
#define BOOL2SUCCESS(b) ((b) ? SUCCESS : FAILURE)

/**
 *  Include other files from this library
 */
#include "../include/hiddenpointer.h"
#include "../include/type.h"
#include "../include/request.h"
#include "../include/argument.h"
#include "../include/value.h"
#include "../include/member.h"
#include "../include/arguments.h"
#include "../include/parameters.h"
#include "../include/function.h"
#include "../include/extension.h"

/**
 *  Interface files for internal use only
 */
#include "nativefunction.h"