mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 06:01:13 +02:00
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:
@@ -504,7 +504,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
|
||||
|
Reference in New Issue
Block a user