[ox/std] Add option for building trace hook in shared library

This commit is contained in:
2021-03-05 21:45:37 -06:00
parent c5773202b5
commit bcb8c108b2
3 changed files with 29 additions and 5 deletions

13
deps/ox/src/ox/std/tracehook.cpp vendored Normal file
View File

@@ -0,0 +1,13 @@
/*
* Copyright 2015 - 2021 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
extern "C"
void oxTraceHook([[maybe_unused]] const char *file, [[maybe_unused]] int line,
[[maybe_unused]] const char *ch, [[maybe_unused]] const char *msg) {
}