From 982d90f20e400c7fe7b254eee31fe7eca4e11c2c Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 20 Feb 2023 13:20:09 -0500 Subject: missed some other examples where param order was documented backward --- docs/guide/type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.3.1