summaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2023-03-29 11:39:08 -0700
committerJordan Wiens <jordan@psifertex.com>2023-03-29 11:39:08 -0700
commiteccbcdea4a23ce50a586decfcec5e7454ea049e4 (patch)
tree29d41180b7df997aae7f3108f2126d9c424d2232 /docs/dev
parentce5d365c0ba8d24682f29236b3a9d3ba1ca1a3a3 (diff)
remove deprecated function_type from documentation
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/cookbook.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/cookbook.md b/docs/dev/cookbook.md
index c9787ddb..7b9eda7a 100644
--- a/docs/dev/cookbook.md
+++ b/docs/dev/cookbook.md
@@ -64,7 +64,7 @@ bv.find_next_data(0, b"\x90" * 10)
Make sure to check out the much more in-depth [type guide](../guide/type.md#using-the-api) as well.
```python
-current_function.function_type = Type.function(Type.void(), [])
+current_function.type = Type.function(Type.void(), [])
```
### Find a variable's definition and all uses using SSA