mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-02 23:07:22 +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,
|
return_type,
|
||||||
name,
|
name,
|
||||||
arguments)
|
arguments)
|
||||||
|
|
||||||
_C_TYPEDEF_DECLARATION_RE = r'typedef (?:struct ){0,1}(?P<type>\w+) (?P<name>\w+)'
|
_C_TYPEDEF_DECLARATION_RE = r'typedef (?:struct ){0,1}(?P<type>\w+) (?P<name>\w+)'
|
||||||
|
|
||||||
def read_typedefs(filename: str)-> Dict[str, str]:
|
def read_typedefs(filename: str)-> Dict[str, str]:
|
||||||
""" Extract type definitions in a {typedef name: primitiv type} dictionary"""
|
""" Extract type definitions in a {typedef name: primitiv type} dictionary"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
type_decl = {}
|
type_decl = {}
|
||||||
with open(filename, encoding='utf-8') as inp:
|
with open(filename, encoding='utf-8') as inp:
|
||||||
content = inp.read()
|
content = inp.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user