diff options
author | Johnathan Corgan | 2011-07-08 17:41:09 -0700 |
---|---|---|
committer | Johnathan Corgan | 2011-07-08 17:41:09 -0700 |
commit | 85477e81354597c40b37b75e5b9eb0af3c3fa4a2 (patch) | |
tree | 4decedcba81b4b2bab2d4c384387dd40e3b8650e /volk/gen/make_h.py | |
parent | 666cd2dd6818fb66e538fa52957f3a23d68e7b94 (diff) | |
parent | 85a8b62ff4b4382e216ea88661fc32c6f30b724f (diff) | |
download | gnuradio-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.py | 5 |
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]) |