diff options
author | jbj <jbj> | 2014-11-11 18:51:50 +0000 |
---|---|---|
committer | jbj <jbj> | 2014-11-11 18:51:50 +0000 |
commit | af2231fac0d8fe8a5664e2c137d6eb84edfcce98 (patch) | |
tree | 19c5e734483ca856306802442520313454606749 | |
parent | c224abf28f4ff9bbf292908324359cb5905addf8 (diff) | |
download | libpopt-af2231fac0d8fe8a5664e2c137d6eb84edfcce98.tar.gz |
- popt: include external symbols within extern "C" scope.
-rw-r--r-- | popt.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -167,6 +167,10 @@ typedef struct poptItem_s { */ /*@{*/ +#ifdef __cplusplus +extern "C" { +#endif + /** * Empty table marker to enable displaying popt alias/exec options. */ @@ -220,9 +224,6 @@ enum poptCallbackReason { }; /*@=exportconst@*/ -#ifdef __cplusplus -extern "C" { -#endif /*@-type@*/ /** \ingroup popt @@ -230,8 +231,8 @@ extern "C" { * @param con context * @param reason reason for callback * @param opt option that triggered callback - * @param arg @todo Document. - * @param data @todo Document. + * @param arg arg value + * @param data callback data */ typedef void (*poptCallbackType) (poptContext con, enum poptCallbackReason reason, |