mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
Fix mistake in commit a1dc830 and add a comment
This commit is contained in:
parent
47dab27df5
commit
e6d069787b
@ -518,7 +518,7 @@ int xlbindfunctions(FUNDEF *functions, size_t nfunctions)
|
||||
memcpy(newfuntab, funtab, (szfuntab - 1) * sizeof(FUNDEF));
|
||||
memcpy(newfuntab + szfuntab - 1, functions, nfunctions * sizeof(FUNDEF));
|
||||
FUNDEF sentinel = { 0, 0, 0 };
|
||||
newfuntab[szfuntab - 1] = sentinel;
|
||||
newfuntab[szfuntab + nfunctions - 1] = sentinel;
|
||||
funtab = newfuntab;
|
||||
szfuntab += nfunctions;
|
||||
return TRUE;
|
||||
|
@ -673,7 +673,9 @@ void xlsymbols(void);
|
||||
|
||||
/* xlftab.c */
|
||||
/* returns true on success,
|
||||
false if table limits would be exceeded and the table remains unchanged */
|
||||
false if table limits would be exceeded and the table remains unchanged
|
||||
Call this, any number of times, before calling xlisp_main_init
|
||||
*/
|
||||
int xlbindfunctions(FUNDEF *functions, size_t nfunctions);
|
||||
|
||||
/* xlio.c */
|
||||
|
Loading…
x
Reference in New Issue
Block a user