summaryrefslogtreecommitdiff
path: root/volk/gen/make_environment_init_h.py
diff options
context:
space:
mode:
Diffstat (limited to 'volk/gen/make_environment_init_h.py')
-rw-r--r--volk/gen/make_environment_init_h.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/volk/gen/make_environment_init_h.py b/volk/gen/make_environment_init_h.py
new file mode 100644
index 000000000..655d73f54
--- /dev/null
+++ b/volk/gen/make_environment_init_h.py
@@ -0,0 +1,18 @@
+from xml.dom import minidom
+
+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 + "#include <volk/volk_common.h>\n\n";
+ tempstring = tempstring + "__VOLK_DECL_BEGIN\n";
+ tempstring = tempstring + "void volk_environment_init();\n";
+ tempstring = tempstring + "__VOLK_DECL_END\n";
+ tempstring = tempstring + "#endif\n"
+ return tempstring;
+
+
+
+