diff options
Diffstat (limited to 'docs')
| -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 |
