oops, switch from char[] to char*

This commit is contained in:
alecf%netscape.com 1999-09-10 07:18:06 +00:00
parent ca1a7f8568
commit bc7b976efe
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ public:
NS_IMETHOD GetURLToLoad(char ** aResult);
NS_IMETHOD GetProgramName(char ** aResult);
NS_IMETHOD GetArgc(PRInt32 * aResult);
NS_IMETHOD GetArgv(char ** aResult[]);
NS_IMETHOD GetArgv(char *** aResult);
protected:
virtual ~nsCmdLineService();
@ -230,7 +230,7 @@ nsCmdLineService::GetArgc(PRInt32 * aResult)
}
NS_IMETHODIMP
nsCmdLineService::GetArgv(char ** aResult[])
nsCmdLineService::GetArgv(char *** aResult)
{
if (nsnull == aResult)
return NS_ERROR_NULL_POINTER;

View File

@ -46,7 +46,7 @@ public:
NS_IMETHOD GetURLToLoad(char ** aResult);
NS_IMETHOD GetProgramName(char ** aResult);
NS_IMETHOD GetArgc(PRInt32 * aResult);
NS_IMETHOD GetArgv(char ** aResult[]);
NS_IMETHOD GetArgv(char *** aResult);
protected:
virtual ~nsCmdLineService();
@ -230,7 +230,7 @@ nsCmdLineService::GetArgc(PRInt32 * aResult)
}
NS_IMETHODIMP
nsCmdLineService::GetArgv(char ** aResult[])
nsCmdLineService::GetArgv(char *** aResult)
{
if (nsnull == aResult)
return NS_ERROR_NULL_POINTER;