blueloveTH 2 år sedan
förälder
incheckning
f46f4380ff
2 ändrade filer med 3 tillägg och 14 borttagningar
  1. 1 4
      docs/C-API/introduction.md
  2. 2 10
      docs/C-API/stack.md

+ 1 - 4
docs/C-API/introduction.md

@@ -19,7 +19,7 @@ Special thanks for [@koltenpearson](https://github.com/koltenpearson)'s contribu
 **C-APIs are always stable and backward compatible** in order to support the second use case.
 !!!
 
-### Basic Functions
+### Basic functions
 
 + `pkpy_vm* pkpy_new_vm(bool enable_os)`
 
@@ -36,6 +36,3 @@ Special thanks for [@koltenpearson](https://github.com/koltenpearson)'s contribu
 + `bool pkpy_exec_2(pkpy_vm*, const char* source, const char* filename, int mode, const char* module)`
 
     Wraps `vm->exec_2`. Execute a string of source code with more options.
-
-### Basic Types
-

+ 2 - 10
docs/C-API/stack.md

@@ -4,7 +4,7 @@ icon: dot
 order: 8
 ---
 
-### Stack manipulation
+### Basic manipulation
 
 + `bool pkpy_pop(pkpy_vm*, int)`
 
@@ -80,15 +80,7 @@ PK_EXPORT bool pkpy_is_none(pkpy_vm*, int i);
 
     Push a new module onto the stack. `name` is the module name. This is not `import`. It creates a new module object.
 
-### Advanced operations
-
-<!-- PK_EXPORT bool pkpy_getattr(pkpy_vm*, pkpy_CName);
-PK_EXPORT bool pkpy_setattr(pkpy_vm*, pkpy_CName);
-PK_EXPORT bool pkpy_getglobal(pkpy_vm*, pkpy_CName);
-PK_EXPORT bool pkpy_setglobal(pkpy_vm*, pkpy_CName);
-PK_EXPORT bool pkpy_eval(pkpy_vm*, const char* source);
-PK_EXPORT bool pkpy_unpack_sequence(pkpy_vm*, int size);
-PK_EXPORT bool pkpy_get_unbound_method(pkpy_vm*, pkpy_CName); -->
+### Variable access
 
 + `bool pkpy_getattr(pkpy_vm*, pkpy_CName name)`