shithub: aubio

Download patch

ref: 873646d8f50043a89648a59bbbf4aa499a64790c
parent: 0897260d23f02955d1532155da617ad39d7743d2
author: Paul Brossier <piem@piem.org>
date: Sat Sep 30 23:26:16 EDT 2017

wscript: py3 compat

--- a/wscript
+++ b/wscript
@@ -246,7 +246,7 @@
         # tell emscripten functions we want to expose
         from python.lib.gen_external import get_c_declarations, get_cpp_objects_from_c_declarations, get_all_func_names_from_lib, generate_lib_from_c_declarations
         c_decls = get_c_declarations(usedouble=False)  # emscripten can't use double
-        objects = get_cpp_objects_from_c_declarations(c_decls)
+        objects = list(get_cpp_objects_from_c_declarations(c_decls))
         # ensure that aubio structs are exported
         objects += ['fvec_t', 'cvec_t', 'fmat_t']
         lib = generate_lib_from_c_declarations(objects, c_decls)