diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2023-02-20 13:20:09 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2023-02-20 13:20:09 -0500 |
| commit | 982d90f20e400c7fe7b254eee31fe7eca4e11c2c (patch) | |
| tree | 76f4dc435e9db51f8727d3dba97e9336c6706897 /docs/guide | |
| parent | 56996b0617c499178b463eb27973e7b12a056ffc (diff) | |
missed some other examples where param order was documented backward
Diffstat (limited to 'docs/guide')
| -rw-r--r-- | docs/guide/type.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/type.md b/docs/guide/type.md index 0dddfcdc..1ad59dfa 100644 --- a/docs/guide/type.md +++ b/docs/guide/type.md @@ -399,8 +399,8 @@ Type.function(Type.void(), [('arg1', Type.int(4))]) # Create a function type whi Type.function(params=[('arg1', Type.int(4))]) # Same as the above # Similarly through their classes directly FunctionType.create() -FunctionType.create(Type.void(), [(Type.int(4), 'arg1')]) -FunctionType.create(params=[(Type.int(4), 'arg1')]) +FunctionType.create(Type.void(), [('arg1', Type.int(4))]) +FunctionType.create(params=[('arg1', Type.int(4))]) ``` #### Create Anonymous Structures/Class/Unions |
