blob: 0ad9e7b7b2de2402d0f26a4ac9e9924c474b8e31 [file] [log] [blame]
/*
* Copyright OpenEmbedded Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <string>
struct CppExample
{
inline static const std::string test_string = "cpp-example-lib Magic: 123456789";
/* Retrieve a constant string */
const std::string &get_string();
/* Retrieve a constant string from a library */
const char *get_json_c_version();
/* Call a more advanced function from a library */
void print_json();
};