Skip to content

Commit

Permalink
removed not necessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Nov 26, 2024
1 parent e0ea7a6 commit 45d00fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 0 additions & 9 deletions emscripten/markerCompress.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#include <emscripten.h>

#ifdef _WIN32
#include <Windows.h>
#else
#include <sys/stat.h>
#endif

#include "zlib/zlib.h"
#include <AR/ar.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>


Expand Down
7 changes: 5 additions & 2 deletions emscripten/markerCreator_bindings.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include <emscripten/bind.h>
#include <emscripten/val.h>
#include <emscripten.h>

using namespace emscripten;

int createNftDataSet_em(emscripten::val imgData, float dpiIn, int xsizeIn,
int ysizeIn, int ncIn, std::string cmdStr) {
Expand All @@ -14,6 +17,6 @@ int compressZip_em(std::string srcStr, int srclen) {
}

EMSCRIPTEN_BINDINGS(markerCreator_bindings) {
emscripten::function("createNftDataSet", &createNftDataSet_em);
emscripten::function("compressZip", &compressZip_em);
function("createNftDataSet", &createNftDataSet_em);
function("compressZip", &compressZip_em);
};

0 comments on commit 45d00fa

Please sign in to comment.