summaryrefslogtreecommitdiff
path: root/tests/simple/simple.cpp
blob: 761c7a02aa89d2f476d3137c5ee40f3e2f76b98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 *  Simple.h
 *
 *  A very simple extension that does almost nothing
 *
 *  @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
 *  @copyright 2013 Copernica BV
 */
#include <string>
#include <iostream>
#include <phpcpp.h>

/**
 *  Namespace to use
 */
using namespace std;


// create the object for the PHP extension
PHP_CPP_EXTENSION(Extension("simple","1.0"));