This commit is contained in:
blueloveTH 2023-04-24 13:29:08 +08:00
parent e5146447c5
commit 657e9b4313
4 changed files with 10 additions and 4 deletions

View File

@ -34,3 +34,9 @@ std::cout << CAST(Str, i); // abc
| `tuple` | `pkpy::Tuple` | | | `tuple` | `pkpy::Tuple` | |
| `function` | `pkpy::Function` | | | `function` | `pkpy::Function` | |
| ... | ... | ... | | ... | ... | ... |
### Type check
+ `is_type(PyObject* obj, Type type)`
+ `is_non_tagged_type(PyObject* obj, Type type)`
+ `VM::check_type(PyObject* obj, Type type)`

View File

@ -1,6 +1,6 @@
--- ---
icon: code icon: code
label: 'Attribute access' label: 'Access attributes'
order: 80 order: 80
--- ---

View File

@ -1,6 +1,6 @@
--- ---
icon: code icon: code
label: 'Call a Python function' label: 'Call Python function'
order: 70 order: 70
--- ---

View File

@ -1,6 +1,6 @@
--- ---
icon: code icon: code
label: 'Wrap a native struct' label: 'Wrap native struct'
order: 50 order: 50
--- ---