mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
oops, switch from char[] to char*
This commit is contained in:
parent
ca1a7f8568
commit
bc7b976efe
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user