From 97bfca2f01d728016e5da4a7c9945fcbda27c89b Mon Sep 17 00:00:00 2001 From: sdilts Date: Thu, 6 Feb 2020 11:42:16 -0700 Subject: [PATCH] Don't make typedefs keywords by default + If a typedef is a keyword, cffi:defctype will produce a warning. --- cl_bindgen/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_bindgen/__main__.py b/cl_bindgen/__main__.py index 21639eb..f3430f4 100644 --- a/cl_bindgen/__main__.py +++ b/cl_bindgen/__main__.py @@ -17,7 +17,7 @@ def main(): # name manglers are applied to parameters and variables name_managlers = [u_managler] # typdef manglers are applied to typdefs - typedef_manglers = [k_mangler, u_managler] + typedef_manglers = [u_managler] constant_manglers = [u_managler, const_mangler] options = ProcessOptions(typedef_manglers=typedef_manglers,