From fa0fa1fcb494483020a736a2bc2c5c639a2bd870 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 26 May 2025 17:05:36 +0200 Subject: Progress with web version --- web/logging.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'web/logging.h') diff --git a/web/logging.h b/web/logging.h index b20a595..9ed4835 100644 --- a/web/logging.h +++ b/web/logging.h @@ -1,18 +1,3 @@ -#ifndef LOGGING_H -#define LOGGING_H - -#include "../cpp/nissy.h" -#include -#include - -#define LOGGING_EMBIND \ - emscripten::function("addCallbackFunction", &addCallbackFunction); - -extern "C" { - extern int addCallbackFunction(); - extern void callFunction(int, const char *); -} - static int logger_id = -1; void log(std::string s) @@ -33,5 +18,3 @@ void set_logger(int id) logger_id = id; nissy::set_logger(log_wrapper, NULL); } - -#endif -- cgit v1.3