blob: e4815a22c30ee2e97edfdb3b6806dbc4956df08f [file] [log] [blame]
#include <cstdint>
#include "google/protobuf/rust/test/benchmarks/bench_data.pb.h"
using benchmarks::BenchData;
extern "C" void benchmark_thunk_set_num2(void* proto, int32_t num) {
static_cast<BenchData*>(proto)->set_num2(num);
}
extern "C" void benchmark_thunk_add_num(void* proto, int32_t num) {
static_cast<BenchData*>(proto)->add_nums(num);
}