
1 changed files with 0 additions and 27 deletions
@ -1,27 +0,0 @@ |
|||
#!/usr/bin/env python3 |
|||
# -*- coding: utf-8 -*- |
|||
import pytest |
|||
|
|||
import gen_cid |
|||
from gen_cid import utils |
|||
|
|||
|
|||
def resolve_vars_and_funcs_to_cid(vars, funcs): |
|||
header_filename = "src/synth_shed/synth_shed.h" |
|||
libclang_path = "/opt/local/libexec/llvm-9.0/lib/libclang.dylib" |
|||
cidtools = gen_cid.CIDTools(libclang_path, header_filename, "test_synth_shed") |
|||
header = cidtools.extract(funcs, vars, debug_ast=True, debug_cid=True) |
|||
|
|||
return header["cid"] |
|||
|
|||
|
|||
def test_manual(): |
|||
vars = [] |
|||
funcs = [] |
|||
funcs.append("init_synth_shed") |
|||
# funcs.append("synth_create") |
|||
# funcs.append("synth_set_osc_count") |
|||
funcs.append("tech_to_string") |
|||
# funcs.append("filtertype_to_string") |
|||
# funcs.append("play_synth") |
|||
resolve_vars_and_funcs_to_cid(vars, funcs) |
Loading…
Reference in new issue