uvw/test/fake.cpp
Michele Caini 58b299ee60 Updated to libuv 1.41 (close #237).
uv_socketpair and uv_pipe aren't explicitly eported via uwv.
2021-02-14 16:15:20 +01:00

9 lines
126 B
C++

#include <stdio.h>
extern "C" int fake_func(double *);
int fake_func(double *d) {
if(d) { *d = -*d; }
return -42;
}