Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Feb 7, 2023
1 parent ec7a7f6 commit 1a1f72f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int main(){

// Eval the sum of the list
char* result = pkpy_vm_eval(vm, "sum(a)");
std::cout << result << std::endl; // 6
printf("%s", result); // 6

// Free the resources
pkpy_delete(result);
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int main(){

// 对列表进行求和
char* result = pkpy_vm_eval(vm, "sum(a)");
std::cout << result << std::endl; // 6
printf("%s", result); // 6

// 释放资源
pkpy_delete(result);
Expand Down

0 comments on commit 1a1f72f

Please sign in to comment.