parse_c_structure
¶
C structure parsing utilities for FFmpeg source code.
Functions:
Name | Description |
---|---|
parse_c_structure |
Parse a C structure from a string. |
remove_string_concat |
Remove string concatenation from a string. |
parse_c_structure
¶
parse_c_structure(text: str) -> list[Any]
Parse a C structure from a string.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
text
|
str
|
The string to parse |
required |
Returns:
Type | Description |
---|---|
list[Any]
|
The parsed C structure |
remove_string_concat
¶
remove_string_concat(text: str) -> str
Remove string concatenation from a string.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
text
|
str
|
The string to remove string concatenation from |
required |
Returns:
Type | Description |
---|---|
str
|
The string with string concatenation removed |