mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-12 22:27:47 +00:00
code_wrapper: Whitespace fixes
Signed-off-by: Minos Galanakis <[email protected]>
This commit is contained in:
@@ -151,12 +151,12 @@ def read_function_declarations(functions: Dict[str, FunctionInfo],
|
||||
return_type,
|
||||
name,
|
||||
arguments)
|
||||
|
||||
_C_TYPEDEF_DECLARATION_RE = r'typedef (?:struct ){0,1}(?P<type>\w+) (?P<name>\w+)'
|
||||
|
||||
def read_typedefs(filename: str)-> Dict[str, str]:
|
||||
""" Extract type definitions in a {typedef name: primitiv type} dictionary"""
|
||||
|
||||
|
||||
|
||||
type_decl = {}
|
||||
with open(filename, encoding='utf-8') as inp:
|
||||
content = inp.read()
|
||||
|
||||
Reference in New Issue
Block a user