uvw/test/fake.cpp
Fiorentino Ing. Stefano 2ea56b1dd1 Give the option to build uvw as lib without fetching the libuv dependency
creating a fake lib to re-activate the lib test
	closes #231

Signed-off-by: Fiorentino Ing. Stefano <stefano.fiore84@gmail.com>
2020-11-17 13:46:31 +00:00

10 lines
131 B
C++

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