Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to expose a simple const char *array[]?
# neuhauser@xxxxxxxxxx / 2015-03-19 15:59:47 +0100:
> static const char *fpath_subdirs[] =
> { "Calendar", "Chpwd", "Completion" /* , ... */ };
>
> static struct paramdef patab[] = {
> PARAMDEF("fpath_subdirs", PM_ARRAY |PM_READONLY, &fpath_subdirs, NULL)
> };
>
> it's surely doing something stupid...
it's surely *ME* doing something stupid... and "stupid" as in
"trivially wrong": i'm just a dabbler in C.
--
roman
Messages sorted by:
Reverse Date,
Date,
Thread,
Author