-
Notifications
You must be signed in to change notification settings - Fork 0
/
boost_common.h
36 lines (27 loc) · 940 Bytes
/
boost_common.h
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
#pragma once
#include <boost/python.hpp>
#include <boost/python/module.hpp>
#include <boost/python/list.hpp>
#include <boost/python/args.hpp>
#include <boost/python/return_value_policy.hpp>
#include <boost/python/reference_existing_object.hpp>
#include <boost/python/manage_new_object.hpp>
#include <boost/python/copy_const_reference.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <boost/python/suite/indexing/map_indexing_suite.hpp>
#include <boost/python/overloads.hpp>
#include <Python.h>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <memory>
//#include <tr1/memory>
#include <using_std.h>
#include <typedef.h>
#include <autogen.h>
#include <boilerplate.h>
#include <pyarr.h>
template<typename T> const T copy_object(const T& v) { return v; }
void boost_common();
PyObject* create_exception_class(const char* name, PyObject* baseTypeObj = PyExc_Exception);