ffi_test/c/ffi.cpp

9 lines
140 B
C++
Raw Normal View History

#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;
}