Python: Upgraded boost to 1.58

This commit is contained in:
Philippe Tillet
2015-08-06 23:47:51 -07:00
parent bf866978ad
commit 080bbea9b9
2821 changed files with 12373 additions and 384959 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();