Monero
Loading...
Searching...
No Matches
generate_translations_header.c File Reference
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for generate_translations_header.c:

Functions

int main (int argc, char *argv[])

Variables

static const char * code

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Variable Documentation

◆ code

const char* code
static
Initial value:
=
"static bool find_embedded_file(const std::string &name, std::string &data) {\n"
" const struct embedded_file *p;\n"
" for (p = embedded_files; p->name != NULL; p++) {\n"
" if (*p->name == name) {\n"
" data = *p->data;\n"
" return true;\n"
" }\n"
" }\n"
" return false;\n"
"}\n"