rc-js-util
Advanced tools
Comparing version 5.0.0-alpha4 to 5.0.0-alpha5
@@ -10,3 +10,4 @@ import { MulticastEvent } from "../eventing/multicast-event"; | ||
const protectedViews: TemporaryValue<ProtectedView<object>>; | ||
const error: (message: string) => boolean; | ||
} | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
var temporary_value_1 = require("./temporary-value"); | ||
var _debug_1 = require("./_debug"); | ||
// eslint-disable-next-line @typescript-eslint/no-namespace | ||
@@ -14,4 +15,8 @@ var RcJsUtilDebug; | ||
RcJsUtilDebug.protectedViews = new temporary_value_1.TemporaryValue(); | ||
function error(message) { | ||
return _debug_1._Debug.error(message); | ||
} | ||
RcJsUtilDebug.error = error; | ||
})(RcJsUtilDebug || (RcJsUtilDebug = {})); | ||
get_global_1.getGlobal()["RcJsUtilDebug"] = RcJsUtilDebug; | ||
//# sourceMappingURL=debug-namepace.js.map |
@@ -8,3 +8,3 @@ cmake_minimum_required(VERSION 3.17) | ||
# test module - matches the name of the ts module | ||
add_executable(test-module src/SharedVector.cpp include/DebugUtil.h) | ||
add_executable(test-module src/SharedVector.cpp src/DebugUtil.cpp) | ||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG_MODE") | ||
@@ -17,3 +17,3 @@ set_target_properties(test-module PROPERTIES LINK_FLAGS "-O0 -g -Weverything -s IMPORTED_MEMORY -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1") | ||
# create library | ||
add_library(JsUtil STATIC src/SharedVector.cpp include/DebugUtil.h) | ||
add_library(JsUtil STATIC src/SharedVector.cpp src/DebugUtil.cpp) | ||
target_link_libraries(JsUtil PUBLIC GSL) | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "rc-js-util", | ||
"version": "5.0.0-alpha4", | ||
"version": "5.0.0-alpha5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
373508
340
4763