Some style fixes. (0.38.6)
This commit is contained in:
parent
c03ac29e40
commit
bc5c699a6a
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(fun VERSION 0.38.5 LANGUAGES C)
|
||||
project(fun VERSION 0.38.6 LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ extern "C" {
|
|||
}
|
||||
|
||||
extern "C" int fun_op_cpp_add(VM *vm) {
|
||||
int64_t b = vm_pop_i64(vm);
|
||||
int64_t a = vm_pop_i64(vm);
|
||||
int64_t b = vm_pop_i64(vm);
|
||||
vm_push_i64(vm, a + b);
|
||||
return 0; // success
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue