From 488ba6f6c470c13818437868a5fca915427f7480 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Wed, 23 Feb 2022 19:26:29 +0100 Subject: [PATCH] Update be_mapping documentation --- lib/libesp32/berry_mapping/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libesp32/berry_mapping/README.md b/lib/libesp32/berry_mapping/README.md index f9ec646d3..d83b8b4e1 100644 --- a/lib/libesp32/berry_mapping/README.md +++ b/lib/libesp32/berry_mapping/README.md @@ -111,6 +111,7 @@ Argument type|Berry type expected `c`|`comptr` (native pointer) `.`|**any** - no type checking for this argument `-`|**skip** - skip this argument (handy to discard the `self` implicit argument for methods) +`@`|**Berry VM** (virtual attribute) - adds a pointer to the Berry VM - works only as first argument `~`|send the length of the previous bytes() buffer (or raise an exception if no length known) `()`|`instance` deriving from `` (i.e. of this class or any subclass `^^`|`function` which is converted to a `C` callback by calling `cb.make_cb()`. The optional `callback_type` string is passed as second argument to `cb.make_cb()` and Berrt `arg #1` (typically `self`) is passed as 3rd argument
See below for callbacks