aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-05-16 16:26:32 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-05-16 16:26:32 -0700
commit36a82cfb93a41235e9e50abb7af9c8597f7d84bf (patch)
tree635f5804dcf39c49d2066eb08e4c361e716d7977
parent6fce02bd85f661dae146f84f8846800458795060 (diff)
downloadbun-36a82cfb93a41235e9e50abb7af9c8597f7d84bf.tar.gz
bun-36a82cfb93a41235e9e50abb7af9c8597f7d84bf.tar.zst
bun-36a82cfb93a41235e9e50abb7af9c8597f7d84bf.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 130b5bb50..24f198c3a 100644
--- a/README.md
+++ b/README.md
@@ -2445,7 +2445,7 @@ console.log(myString);
When used in `returns`, `FFIType.cstring` coerces the pointer to a JavaScript `string`. When used in `args`, `cstring` is identical to `ptr`.
-#### Function pointers
+#### Function pointers (`CFunction`)
To call a function pointer from JavaScript, use `CFunction`