summaryrefslogtreecommitdiff
path: root/mythfs/service/embed.cpp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'mythfs/service/embed.cpp.m4')
-rw-r--r--mythfs/service/embed.cpp.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/mythfs/service/embed.cpp.m4 b/mythfs/service/embed.cpp.m4
new file mode 100644
index 0000000..43901dd
--- /dev/null
+++ b/mythfs/service/embed.cpp.m4
@@ -0,0 +1,12 @@
+define(`name', NAME)
+define(`incl', `#include "'NAME`.h"')
+define(`inclhex', `#include "'NAME`.hex"')
+incl
+
+namespace sql {
+ const std::string name::sql({
+ inclhex
+ , 0x00});
+ const std::size_t name::hash(std::hash<std::string>()(sql));
+}
+