blueloveTH 3 سال پیش
والد
کامیت
c381689d3e
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 2 2
      plugins/flutter/src/pocketpy.h
  2. 1 1
      plugins/godot/godot-cpp
  3. 2 2
      src/pocketpy.h

+ 2 - 2
plugins/flutter/src/pocketpy.h

@@ -6638,7 +6638,7 @@ extern "C" {
     __EXPORT
     __EXPORT
     /// Get a global variable of a virtual machine.
     /// Get a global variable of a virtual machine.
     /// 
     /// 
-    /// Return __repr__ of the result.
+    /// Return `__repr__` of the result.
     /// If the variable is not found, return `nullptr`.
     /// If the variable is not found, return `nullptr`.
     char* pkpy_vm_get_global(VM* vm, const char* name){
     char* pkpy_vm_get_global(VM* vm, const char* name){
         auto it = vm->_main->attribs.find(name);
         auto it = vm->_main->attribs.find(name);
@@ -6654,7 +6654,7 @@ extern "C" {
     __EXPORT
     __EXPORT
     /// Evaluate an expression.
     /// Evaluate an expression.
     /// 
     /// 
-    /// Return __repr__ of the result.
+    /// Return `__repr__` of the result.
     /// If there is any error, return `nullptr`.
     /// If there is any error, return `nullptr`.
     char* pkpy_vm_eval(VM* vm, const char* source){
     char* pkpy_vm_eval(VM* vm, const char* source){
         PyVarOrNull ret = vm->exec(source, "<eval>", EVAL_MODE);
         PyVarOrNull ret = vm->exec(source, "<eval>", EVAL_MODE);

+ 1 - 1
plugins/godot/godot-cpp

@@ -1 +1 @@
-Subproject commit 84bca9a3b6e86d18fa8df303c7fa80e751960dbe
+Subproject commit c951825d2533b000213d57f027569fc08ed7f02a

+ 2 - 2
src/pocketpy.h

@@ -710,7 +710,7 @@ extern "C" {
     __EXPORT
     __EXPORT
     /// Get a global variable of a virtual machine.
     /// Get a global variable of a virtual machine.
     /// 
     /// 
-    /// Return __repr__ of the result.
+    /// Return `__repr__` of the result.
     /// If the variable is not found, return `nullptr`.
     /// If the variable is not found, return `nullptr`.
     char* pkpy_vm_get_global(VM* vm, const char* name){
     char* pkpy_vm_get_global(VM* vm, const char* name){
         auto it = vm->_main->attribs.find(name);
         auto it = vm->_main->attribs.find(name);
@@ -726,7 +726,7 @@ extern "C" {
     __EXPORT
     __EXPORT
     /// Evaluate an expression.
     /// Evaluate an expression.
     /// 
     /// 
-    /// Return __repr__ of the result.
+    /// Return `__repr__` of the result.
     /// If there is any error, return `nullptr`.
     /// If there is any error, return `nullptr`.
     char* pkpy_vm_eval(VM* vm, const char* source){
     char* pkpy_vm_eval(VM* vm, const char* source){
         PyVarOrNull ret = vm->exec(source, "<eval>", EVAL_MODE);
         PyVarOrNull ret = vm->exec(source, "<eval>", EVAL_MODE);