Skip to content

Commit

Permalink
Update sites/cheerpj/src/content/docs/11-guides/implementing-native-m…
Browse files Browse the repository at this point in the history
…ethods.md

Co-authored-by: Ana Gabriela Reyna <gabrielareynaflores@gmail.com>
  • Loading branch information
theodoravraimakis and GabrielaReyna authored Nov 21, 2024
1 parent dc516a8 commit af0a4bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function Java_<fully-qualified-class-name>_<method-name>(lib, self, param1
## Passing Native Functions to CheerpJ

To use the native method in CheerpJ, pass the function to the `cheerpjInit` function as a property of the [`natives`] option. You can pass:
To use the native method in CheerpJ, pass the function to the [`cheerpjInit`] function as a property of the [`natives`] option. You can pass:

1. **The function definition directly**:

Expand Down

0 comments on commit af0a4bb

Please sign in to comment.