Mercurial > projects > dwt-mac
comparison dwt/browser/HelperAppLauncherDialogFactory.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 1a8b3cb347e0 |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
6:b903c16b6f48 | 7:e831403a80a9 |
---|---|
44 factory = new XPCOMObject (new int[] {2, 0, 0, 3, 1}) { | 44 factory = new XPCOMObject (new int[] {2, 0, 0, 3, 1}) { |
45 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} | 45 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} |
46 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} | 46 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} |
47 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} | 47 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} |
48 public int /*long*/ method3 (int /*long*/[] args) {return CreateInstance (args[0], args[1], args[2]);} | 48 public int /*long*/ method3 (int /*long*/[] args) {return CreateInstance (args[0], args[1], args[2]);} |
49 public int /*long*/ method4 (int /*long*/[] args) {return LockFactory ((int)/*64*/args[0]);} | 49 public int /*long*/ method4 (int /*long*/[] args) {return LockFactory (cast(int)/*64*/args[0]);} |
50 }; | 50 }; |
51 } | 51 } |
52 | 52 |
53 void disposeCOMInterfaces () { | 53 void disposeCOMInterfaces () { |
54 if (supports !is null) { | 54 if (supports !is null) { |