Mercurial > projects > dwt-mac
comparison dwt/browser/FilePickerFactory_1_8.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 649b8e223d5a |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
6:b903c16b6f48 | 7:e831403a80a9 |
---|---|
29 factory = new XPCOMObject (new int[] {2, 0, 0, 3, 1}) { | 29 factory = new XPCOMObject (new int[] {2, 0, 0, 3, 1}) { |
30 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} | 30 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} |
31 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} | 31 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} |
32 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} | 32 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} |
33 public int /*long*/ method3 (int /*long*/[] args) {return CreateInstance (args[0], args[1], args[2]);} | 33 public int /*long*/ method3 (int /*long*/[] args) {return CreateInstance (args[0], args[1], args[2]);} |
34 public int /*long*/ method4 (int /*long*/[] args) {return LockFactory ((int)/*64*/args[0]);} | 34 public int /*long*/ method4 (int /*long*/[] args) {return LockFactory (cast(int)/*64*/args[0]);} |
35 }; | 35 }; |
36 } | 36 } |
37 | 37 |
38 /* nsIFactory */ | 38 /* nsIFactory */ |
39 | 39 |