diff --git a/inc/live_plotter.hpp b/inc/live_plotter.hpp index e2a3c79..3a7039e 100644 --- a/inc/live_plotter.hpp +++ b/inc/live_plotter.hpp @@ -1,5 +1,7 @@ #pragma once +#define DllExport __declspec( dllexport ) + typedef unsigned long long pointid; DllExport bool __cdecl start(int win_w, int win_h); @@ -9,4 +11,4 @@ DllExport void __cdecl set_color(pointid id, float r, float g, float b); DllExport void __cdecl set_scale(pointid id, float scale); DllExport void __cdecl update_point(pointid id, float x, float y, float z); DllExport void __cdecl set_lifetime(pointid id, float new_lifetime_s); -DllExport void __cdecl clear_point(pointid id); \ No newline at end of file +DllExport void __cdecl clear_point(pointid id); diff --git a/inc/util.hpp b/inc/util.hpp index fe4d784..873223a 100644 --- a/inc/util.hpp +++ b/inc/util.hpp @@ -6,8 +6,6 @@ #include #include -#define DllExport __declspec( dllexport ) - typedef unsigned int uint; template struct Array {