1
0
Fork 0
forked from fun/fun

Some style fixes. (0.38.6)

This commit is contained in:
Johannes Findeisen 2026-02-01 00:39:13 +01:00
commit bc5c699a6a
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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
}