ffi_test/c/ffi.cpp

8 lines
140 B
C++

#include <cstdint>
#include <lean/lean.h>
#include <curl/curl.h>
extern "C" uint32_t my_add(uint32_t a, uint32_t b) {
return a + b;
}