VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/xpcom/tests/TestXPIDLString.cpp@ 62330

Last change on this file since 62330 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 327 bytes
Line 
1#include "nsString.h"
2#include "nsReadableUtils.h"
3#include "nsXPIDLString.h"
4
5static void
6nsXPIDLStringTest_Value(PRUnichar** aResult)
7{
8 *aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
9}
10
11int
12main(int argc, char* argv[])
13{
14 nsXPIDLString s1;
15 nsXPIDLStringTest_Value(getter_Copies(s1));
16 return 0;
17}
18
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette