summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2020-07-02 22:46:07 -0400
committerJordan Wiens <jordan@psifertex.com>2020-07-02 22:46:07 -0400
commite42f305aa164f98d0da027796ba07a512d449ec7 (patch)
tree72cddd77dacea1c739f9c363d5e911647e19ee65 /docs
parentad94d1ebdcfcddccc0452b825a7c74887d12b4f3 (diff)
small update to working with type guide describing function types
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/type.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/guide/type.md b/docs/guide/type.md
index ede231d7..b4df1ef4 100644
--- a/docs/guide/type.md
+++ b/docs/guide/type.md
@@ -307,6 +307,8 @@ If we want to name the variable there, see the section below on working with [sy
NOTE: There also exists the [`define_data_var`](https://api.binary.ninja/binaryninja.binaryview-module.html#binaryninja.binaryview.BinaryView.define_data_var) API, however that will create an AUTO data variable. Auto-APIs are intended for code which is expected to be run every-time a binary is opened. Thus, they're not saved to the analysis database since they will generally be generated on load. Keep that in mind when you see multiple APIs that have both `_auto_` and `_user_` variants.
+Alternatively, if you wanted to add or change the type of a function, function objects have a `[.function_type](https://api.binary.ninja/binaryninja.function-module.html#binaryninja.function.Function.function_type)` property that can take either a type object or a string.
+
### Deleting
To remove a type from the view: