From 657e9b431310ca3c4959f0ed8facb631000c3b55 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 24 Apr 2023 13:29:08 +0800 Subject: [PATCH] ... --- docs/quick-start/02_interop.md | 8 +++++++- docs/quick-start/03_attr.md | 2 +- docs/quick-start/04_call.md | 2 +- docs/quick-start/06_wrap.md | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/quick-start/02_interop.md b/docs/quick-start/02_interop.md index 1eb20415..54c402e7 100644 --- a/docs/quick-start/02_interop.md +++ b/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` | | -| ... | ... | ... | \ No newline at end of file +| ... | ... | ... | + +### Type check + ++ `is_type(PyObject* obj, Type type)` ++ `is_non_tagged_type(PyObject* obj, Type type)` ++ `VM::check_type(PyObject* obj, Type type)` \ No newline at end of file diff --git a/docs/quick-start/03_attr.md b/docs/quick-start/03_attr.md index 3a4640c6..cd2c1da6 100644 --- a/docs/quick-start/03_attr.md +++ b/docs/quick-start/03_attr.md @@ -1,6 +1,6 @@ --- icon: code -label: 'Attribute access' +label: 'Access attributes' order: 80 --- diff --git a/docs/quick-start/04_call.md b/docs/quick-start/04_call.md index b45c429e..c9097dcb 100644 --- a/docs/quick-start/04_call.md +++ b/docs/quick-start/04_call.md @@ -1,6 +1,6 @@ --- icon: code -label: 'Call a Python function' +label: 'Call Python function' order: 70 --- diff --git a/docs/quick-start/06_wrap.md b/docs/quick-start/06_wrap.md index e3c66d34..21ebf2a8 100644 --- a/docs/quick-start/06_wrap.md +++ b/docs/quick-start/06_wrap.md @@ -1,6 +1,6 @@ --- icon: code -label: 'Wrap a native struct' +label: 'Wrap native struct' order: 50 ---