[ox/std] Add option for building trace hook in shared library
This commit is contained in:
13
deps/ox/src/ox/std/tracehook.cpp
vendored
Normal file
13
deps/ox/src/ox/std/tracehook.cpp
vendored
Normal 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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user