Adding temporary notes and links
This commit is contained in:
parent
dd259ef5bb
commit
86ae68dd50
2 changed files with 11 additions and 0 deletions
8
links.txt
Normal file
8
links.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
https://stackoverflow.com/questions/36093158/how-does-string-conversion-between-pyunicode-string-and-c-string-work
|
||||
https://stackoverflow.com/questions/8001923/python-extension-module-with-variable-number-of-arguments
|
||||
https://stackoverflow.com/questions/27451743/how-can-i-print-the-type-of-a-pyobject-in-an-error-message-for-an-embedded-pytho/27452057
|
||||
|
||||
https://docs.python.org/3.8/c-api/unicode.html#creating-and-accessing-unicode-strings
|
||||
https://docs.python.org/3/extending/extending.html
|
||||
|
||||
https://stackoverflow.com/questions/28263177/should-tp-alloc-tp-dealloc-and-tp-new-tp-free-be-considered-as-pairs
|
|
@ -124,6 +124,9 @@ PyObject* vm_call (VMObject* self, PyObject* args) {
|
|||
self->vm.ensure_slots(static_cast<std::size_t>(argc) + 1);
|
||||
variable(self->vm, wren::ModuleAndName{"main", "the_user"}, 0);
|
||||
|
||||
//TODO: missing error checks, see
|
||||
//https://stackoverflow.com/questions/8001923/python-extension-module-with-variable-number-of-arguments
|
||||
|
||||
std::string func_sig;
|
||||
{
|
||||
Py_ssize_t sz;
|
||||
|
|
Loading…
Reference in a new issue