File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ To add through the command line:
4545 .. code-block :: none
4646
4747 python3 libc/hdrgen/yaml_to_classes.py
48- libc/hdrgen/yaml /[yaml_file.yaml] --add_function "<return_type>" <function_name> "<function_arg1, function_arg2>" <standard> <guard> <attribute>
48+ libc/hdrgen/spec /[yaml_file.yaml] --add_function "<return_type>" <function_name> "<function_arg1, function_arg2>" <standard> <guard> <attribute>
4949
5050 Example:
5151
5252 .. code-block :: none
5353
5454 python3 libc/hdrgen/yaml_to_classes.py
55- libc/hdrgen/yaml /ctype.yaml --add_function "char" example_function
55+ libc/hdrgen/spec /ctype.yaml --add_function "char" example_function
5656 "int, void, const void" stdc example_float example_attribute
5757
5858 Keep in mind only the return_type and arguments have quotes around them. If
@@ -117,7 +117,7 @@ Common Errors
117117 missing. Ensure the correct style and required files are present:
118118
119119 | ``[header_name]``
120- | ``[../libc/hdrgen/yaml /[yaml_file.yaml]``
120+ | ``[../libc/hdrgen/spec /[yaml_file.yaml]``
121121 | ``[header_name.h.def]``
122122 | ``[header_name.h]``
123123 | ``DEPENDS``
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ together with its specifications:
1818```
1919- Add function specs to the file:
2020```
21- libc/hdrgen/yaml /math.yaml
21+ libc/hdrgen/spec /math.yaml
2222```
2323
2424## Implementation
You can’t perform that action at this time.
0 commit comments