Mercurial > octave
diff liboctave/wrappers/getopt-wrapper.h @ 29231:4e196fbb28a5
Set API tags in files in liboctave/wrappers (patch #8919).
Add API tag to (un-defined) functions in headers.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 29 Dec 2020 18:00:43 +0100 |
parents | bd51beb6205e |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/liboctave/wrappers/getopt-wrapper.h Tue Dec 29 17:58:57 2020 +0100 +++ b/liboctave/wrappers/getopt-wrapper.h Tue Dec 29 18:00:43 2020 +0100 @@ -42,15 +42,15 @@ #define octave_required_arg 1 #define octave_optional_arg 2 -extern int +extern OCTAVE_API int octave_getopt_long_wrapper (int argc, char **argv, const char *shortopts, const struct octave_getopt_options *longopts, int *longind); -extern char * octave_optarg_wrapper (void); +extern OCTAVE_API char * octave_optarg_wrapper (void); -extern int octave_optind_wrapper (void); +extern OCTAVE_API int octave_optind_wrapper (void); #if defined __cplusplus }