Python: Updated boost to 1.58 - Kivy support in python wrapper

This commit is contained in:
Philippe Tillet
2015-08-14 22:09:54 -07:00
parent 8c7259bb3d
commit e912beaac3
2830 changed files with 14024 additions and 384984 deletions

View File

@@ -12,19 +12,19 @@ namespace boost
namespace numpy
{
#if PY_MAJOR_VERSION >= 3
int
#else
void
#endif
do_import_array()
{
import_array();
#if PY_MAJOR_VERSION == 2
static void wrap_import_array() {
import_array();
}
#else
static void * wrap_import_array() {
import_array();
}
#endif
void initialize(bool register_scalar_converters)
{
do_import_array();
wrap_import_array();
import_ufunc();
if (register_scalar_converters)
dtype::register_scalar_converters();