diff options
Diffstat (limited to 'src/defargs.h')
-rw-r--r-- | src/defargs.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/defargs.h b/src/defargs.h index 4a38723..589eb90 100644 --- a/src/defargs.h +++ b/src/defargs.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -19,11 +19,13 @@ #define DEFARGS_H #include "types.h" +#include <memory> class ArgumentList; class QCString; -extern void stringToArgumentList(SrcLangExt lang, const char *argsString,ArgumentList& argList, - QCString *extraTypeChars=0); +std::unique_ptr<ArgumentList> stringToArgumentList(SrcLangExt lang, + const char *argsString, + QCString *extraTypeChars=0); #endif |