Compile uSocketsMock as C

This commit is contained in:
Alex Hultman
2019-06-10 01:19:18 +02:00
parent 72ad34075e
commit 5098ec279f
4 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "helpers.h"
/* This function pushes data to the uSockets mock */
extern void us_loop_read_mocked_data(struct us_loop *loop, char *data, unsigned int size);
extern "C" void us_loop_read_mocked_data(struct us_loop *loop, char *data, unsigned int size);
uWS::TemplatedApp<false> *app;