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

@ -33,4 +33,10 @@ std::cout << CAST(Str, i); // abc
| `list` | `pkpy::List` | |
| `tuple` | `pkpy::Tuple` | |
| `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
label: 'Attribute access'
label: 'Access attributes'
order: 80
---

View File

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

View File

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