blueloveTH 2 years ago
parent
commit
657e9b4313

+ 7 - 1
docs/quick-start/02_interop.md

@@ -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)`

+ 1 - 1
docs/quick-start/03_attr.md

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

+ 1 - 1
docs/quick-start/04_call.md

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

+ 1 - 1
docs/quick-start/06_wrap.md

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