Definition at line 14 of file hello_driver.cpp.
◆ memset()
void * example_host_methods::memset |
( |
char * | ptr, |
|
|
int | x, |
|
|
size_t | n ) |
|
inline |
◆ print_name()
void example_host_methods::print_name |
( |
const char * | nm | ) |
|
|
inline |
◆ print_num()
void example_host_methods::print_num |
( |
uint64_t | n | ) |
|
|
inline |
Definition at line 15 of file hello_driver.cpp.
15{ std::cout << "Number : " << n << "\n"; }
◆ print_span()
void example_host_methods::print_span |
( |
span< const char > | s | ) |
|
|
inline |
Definition at line 29 of file hello_driver.cpp.
29 {
30 std::cout <<
"Span : " << std::string{
s.data(),
s.size()} <<
"\n";
31 }
◆ sysio_assert()
void example_host_methods::sysio_assert |
( |
bool | test, |
|
|
const char * | msg ) |
|
inline |
Definition at line 22 of file hello_driver.cpp.
22 {
23 if (!test) {
24 std::cout << msg << std::endl;
25 throw 0;
26 }
27 }
◆ field
std::string example_host_methods::field = "" |
The documentation for this struct was generated from the following file: