/* | |
* 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(); | |
}; |