view dwt/internal/mozilla/nsIDebug.d @ 156:969e7de37c3d default tip

Fixes to get dwt to work with dmd and ldc
author Jacob Carlborg <doob@me.com>
date Wed, 08 Jul 2009 21:56:44 +0200
parents 5583f8eeee6c
children
line wrap: on
line source

module dwt.internal.mozilla.nsIDebug;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;

const char[] NS_IDEBUG_IID_STR = "3bf0c3d7-3bd9-4cf2-a971-33572c503e1e";

const nsIID NS_IDEBUG_IID= 
  {0x3bf0c3d7, 0x3bd9, 0x4cf2, 
    [ 0xa9, 0x71, 0x33, 0x57, 0x2c, 0x50, 0x3e, 0x1e ]};

interface nsIDebug : nsISupports {
  static const char[] IID_STR = NS_IDEBUG_IID_STR;
  static const nsIID IID = NS_IDEBUG_IID;

extern(System):
  nsresult Assertion(char *aStr, char *aExpr, char *aFile, PRInt32 aLine);
  nsresult Warning(char *aStr, char *aFile, PRInt32 aLine);
  nsresult Break(char *aFile, PRInt32 aLine);
  nsresult Abort(char *aFile, PRInt32 aLine);
}