migrate to emscripten

This commit is contained in:
Dmitry Ivakhnenko
2022-11-22 15:05:05 +03:00
parent 35f3335efc
commit 8d3e02f565
17 changed files with 311 additions and 895 deletions

View File

@@ -7,9 +7,6 @@
#pragma once
#include <nbind/api.h>
#include <nbind/BindDefiner.h>
struct Size {
double width;
double height;
@@ -17,6 +14,4 @@ struct Size {
Size(void) : width(0.0), height(0.0) {}
Size(double width, double height) : width(width), height(height) {}
void toJS(nbind::cbOutput expose) const { expose(width, height); }
};