blob: 77a841a246108742df71076e5cd7ab2a3659f01e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
from xml.dom import minidom
from emit_omnilog import *
def make_environment_init_h() :
tempstring = "";
tempstring = tempstring + "/*this file is auto_generated by volk_register.py*/\n\n";
tempstring = tempstring + "#ifndef INCLUDE_LIBVECTOR_ENVIRONMENT_INIT_H\n";
tempstring = tempstring + "#define INCLUDE_LIBVECTOR_ENVIRONMENT_INIT_H\n";
tempstring = tempstring + "\n";
tempstring = tempstring + emit_prolog();
tempstring = tempstring + "void volk_environment_init();\n";
tempstring = tempstring + emit_epilog();
tempstring = tempstring + "#endif\n"
return tempstring;
|