mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
19 lines
327 B
C++
19 lines
327 B
C++
|
#include "nsString.h"
|
||
|
#include "nsReadableUtils.h"
|
||
|
#include "nsXPIDLString.h"
|
||
|
|
||
|
static void
|
||
|
nsXPIDLStringTest_Value(PRUnichar** aResult)
|
||
|
{
|
||
|
*aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
|
||
|
}
|
||
|
|
||
|
int
|
||
|
main(int argc, char* argv[])
|
||
|
{
|
||
|
nsXPIDLString s1;
|
||
|
nsXPIDLStringTest_Value(getter_Copies(s1));
|
||
|
return 0;
|
||
|
}
|
||
|
|