Skip to content

Instantly share code, notes, and snippets.

@ywkaras
Created December 7, 2023 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ywkaras/7e0aeed37ef8bc6c372b1ef95d910127 to your computer and use it in GitHub Desktop.
Save ywkaras/7e0aeed37ef8bc6c372b1ef95d910127 to your computer and use it in GitHub Desktop.
api_stubs
/** @file
Stubs for linking plugins with --no-undefined option. Plugins
must also be linked with libstapi.so.
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// DbgCtl members
#include <ts/DbgCtl.h>
DbgCtl::DbgCtl(DbgCtl &&src) {}
DbgCtl &
DbgCtl::operator=(DbgCtl &&src)
{
return *this;
}
DbgCtl::_TagData const *
DbgCtl::_new_reference(char const *)
{
return nullptr;
}
void
DbgCtl::_rm_reference()
{
}
void
DbgCtl::update()
{
}
void
DbgCtl::print(char const *tag, char const *file, char const *function, int line, char const *fmt_str, ...)
{
}
std::atomic<int> DbgCtl::_config_mode{0};
bool
DbgCtl::_override_global_on()
{
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment