1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-03 07:10:10 +01:00
Author: Paul Licameli <paul.licameli@audacityteam.org>
    Date:   Tue Feb 27 13:51:10 2018 -0500

        Changes to make xlisp.h usable in C++ code...

        1) #include guard
        2) "C" linkage for all function declarations
        3) some uses of const
This commit is contained in:
Leland Lucius
2019-12-15 23:11:41 -06:00
parent 9b77109eff
commit 981f41ccf4
2 changed files with 17 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ FUNDEF init_funtab[] = {
FUNDEF *funtab = init_funtab;
static size_t szfuntab = sizeof(init_funtab) / sizeof(*init_funtab);
int xlbindfunctions(FUNDEF *functions, size_t nfunctions)
int xlbindfunctions(const FUNDEF *functions, size_t nfunctions)
{
/* This is written very generally, imposing no fixed upper limit on the
growth of the table. But perhaps a lightweight alternative with such a