From b1512457c6d550cb8aa2d2619001b80ba22ab3e5 Mon Sep 17 00:00:00 2001 From: heck Date: Wed, 27 Jan 2021 05:01:32 +0100 Subject: [PATCH] ext - "lib_test" - generate char and struct double/tripple pointer functions (ret,arg) bindings --- examples/ext/lib_test/lib_test/gen/Makefile | 2 +- .../ext/lib_test/lib_test/gen/config.json | 24 +++++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/examples/ext/lib_test/lib_test/gen/Makefile b/examples/ext/lib_test/lib_test/gen/Makefile index d27d373..e1723f1 100644 --- a/examples/ext/lib_test/lib_test/gen/Makefile +++ b/examples/ext/lib_test/lib_test/gen/Makefile @@ -24,7 +24,7 @@ pybind: $(PYBIND11_FILE) $(YML2_FILE): config.json pEp_acid_gen $^ -$(PYBIND11_FILE) : $(YML2_FILE) +$(PYBIND11_FILE) : $(YML2_FILE) $(YSL2_FILE) yml2proc --encoding=utf8 -y $(YSL2_FILE) $(YML2_FILE) clean: diff --git a/examples/ext/lib_test/lib_test/gen/config.json b/examples/ext/lib_test/lib_test/gen/config.json index 6335343..23288d5 100644 --- a/examples/ext/lib_test/lib_test/gen/config.json +++ b/examples/ext/lib_test/lib_test/gen/config.json @@ -9,17 +9,33 @@ "func_Pi_args_V", "func_V_args_Pi", "func_Pi_args_Pi", - "func_V_args_pPi", - "func_Pi_args_Pi_pPi_pPi", + "//func_V_args_pPi", + "//func_Pi_args_Pi_pPi_pPi", "func_Pc_args_V", "func_V_args_Pc", "func_Pc_args_Pc", - "func_V_args_pPc", + "func_pPcStr_args_V", + "func_V_args_pPcChr", + "func_V_args_pPcStr", "func_Pc_args_Pc_pPc_pPc", "func_pPcc_args_V", "func_V_args_pPcc", "func_pPcc_args_pPcc", - "func_pPcc_args_pPcc_pPcc" + "func_pPcc_args_pPcc_pPcc", + "func_ppPc_args_V", + "func_pppPc_args_V", + "func_V_args_ppPc", + "func_pppPc_args_pppPc", + + + "func__PS_args_V", + "func_TTAPS_args_V", + "func_pTAPS_args_V", + "func_ppTAPS_args_V", + "func_pppTAPS_args_V", + + + "func_V_args_pTAPS" ], "debug_ast" : "True", "debug_acid" : "True",