wscript: py3 compat
authorPaul Brossier <piem@piem.org>
Sun, 1 Oct 2017 01:26:16 +0000 (03:26 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 1 Oct 2017 01:26:16 +0000 (03:26 +0200)
wscript

diff --git a/wscript b/wscript
index 2822e5d..21498b6 100644 (file)
--- a/wscript
+++ b/wscript
@@ -246,7 +246,7 @@ def configure(ctx):
         # 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)