summaryrefslogtreecommitdiff
path: root/volk/gen/make_h.py
diff options
context:
space:
mode:
authorJohnathan Corgan2011-07-08 17:41:09 -0700
committerJohnathan Corgan2011-07-08 17:41:09 -0700
commit85477e81354597c40b37b75e5b9eb0af3c3fa4a2 (patch)
tree4decedcba81b4b2bab2d4c384387dd40e3b8650e /volk/gen/make_h.py
parent666cd2dd6818fb66e538fa52957f3a23d68e7b94 (diff)
parent85a8b62ff4b4382e216ea88661fc32c6f30b724f (diff)
downloadgnuradio-85477e81354597c40b37b75e5b9eb0af3c3fa4a2.tar.gz
gnuradio-85477e81354597c40b37b75e5b9eb0af3c3fa4a2.tar.bz2
gnuradio-85477e81354597c40b37b75e5b9eb0af3c3fa4a2.zip
Merge remote branch 'nick/volk_cmake'
Diffstat (limited to 'volk/gen/make_h.py')
-rw-r--r--volk/gen/make_h.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/volk/gen/make_h.py b/volk/gen/make_h.py
index 3d5790de4..354e57258 100644
--- a/volk/gen/make_h.py
+++ b/volk/gen/make_h.py
@@ -21,9 +21,12 @@ struct volk_func_desc {
const int *arch_defs;
const int n_archs;
};
+
+VOLK_API unsigned int volk_get_alignment(void);
+
"""
for i in range(len(funclist)):
- tempstring += "extern " + replace_volk.sub("p", funclist[i]) + " " + funclist[i] + ";\n"
+ tempstring += "extern VOLK_API " + replace_volk.sub("p", funclist[i]) + " " + funclist[i] + ";\n"
tempstring += "extern VOLK_API void %s_manual%s;\n" % (funclist[i], arched_arglist[i])
tempstring = strip_trailing(tempstring, " {")
tempstring += "extern VOLK_API struct volk_func_desc %s_get_func_desc(void);\n" % (funclist[i])