comparison dwt/internal/mozilla/XPCOMInit.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents 3f4a5c7d138f
children 9a4d7706df52
comparison
equal deleted inserted replaced
340:3f4a5c7d138f 341:942da4b6558a
27 * Port to the D programming language: 27 * Port to the D programming language:
28 * John Reimer <terminal.node@gmail.com> 28 * John Reimer <terminal.node@gmail.com>
29 *******************************************************************************/ 29 *******************************************************************************/
30 module dwt.internal.mozilla.XPCOMInit; 30 module dwt.internal.mozilla.XPCOMInit;
31 31
32 import dwt.internal.Platform; 32 //import dwt.internal.Platform;
33 import dwt.internal.mozilla.Common;
33 34
34 extern(System) { 35 extern(System) {
35 36
36 align(4): 37 align(4):
37 38
50 51
51 const int PATH_MAX = 4096; 52 const int PATH_MAX = 4096;
52 53
53 extern(System): 54 extern(System):
54 55
55 public static uint GRE_GetGREPathWithProperties(GREVersionRange *versions, int versionsLength, GREProperty *properties, uint propertiesLength, char *buffer, uint buflen); 56 nsresult GRE_GetGREPathWithProperties(GREVersionRange *versions, PRUint32 versionsLength, GREProperty *properties, PRUint32 propertiesLength, char *buffer, PRUint32 buflen);
56 public static uint XPCOMGlueStartup(char* xpcomFile); 57 nsresult XPCOMGlueStartup(char* xpcomFile);
57 public static int XPCOMGlueShutdown (); 58 nsresult XPCOMGlueShutdown ();