VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/vboxdeps.cpp@ 11859

Last change on this file since 11859 was 11859, checked in by vboxsync, 16 years ago

xpcom18a4: dropped darwindeps.cpp and make darwin use vboxdeps.cpp instead. Added a nsProxyObject dependency to vboxdeps to try drag in the vtable for nsXPTCStubBase (ZTV14nsXPTCStubBase).

  • Property svn:keywords set to Id
File size: 683 bytes
Line 
1/* The usual story: drag stuff from the libraries into the link. */
2
3
4#include <plstr.h>
5#include <prio.h>
6#include <nsDeque.h>
7#include <nsHashSets.h>
8#include <nsIPipe.h>
9#include <xptcall.h>
10#include <nsProxyEvent.h>
11
12uintptr_t deps[] =
13{
14 (uintptr_t)PL_strncpy,
15 (uintptr_t)PL_strchr,
16 (uintptr_t)PL_strncpyz,
17 (uintptr_t)PL_HashString,
18 (uintptr_t)PR_DestroyPollableEvent,
19 (uintptr_t)NS_NewPipe2,
20 0
21};
22
23void foodep(void)
24{
25 nsVoidHashSetSuper *a = new nsVoidHashSetSuper();
26 a->Init(123);
27 nsDeque *b = new nsDeque((nsDequeFunctor*)0);
28
29 nsProxyObject *c = new nsProxyObject(NULL, 1234, NULL);
30 delete c;
31}
32
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