зеркало из https://github.com/mozilla/pjs.git
Bug 648871 - use NS_STDCALL_FUNCPROTO; r=bzbarsky
This commit is contained in:
Родитель
4ba92817fc
Коммит
fc24df09db
|
@ -43,8 +43,10 @@
|
|||
#include "CheckedInt.h"
|
||||
#include "nsMathUtils.h"
|
||||
|
||||
typedef nsresult (NS_STDCALL nsIDOMCanvasRenderingContext2D::*CanvasStyleSetterType)(const nsAString &, nsISupports *);
|
||||
typedef nsresult (NS_STDCALL nsIDOMCanvasRenderingContext2D::*CanvasStyleGetterType)(nsAString &, nsISupports **, PRInt32 *);
|
||||
typedef NS_STDCALL_FUNCPROTO(nsresult, CanvasStyleSetterType, nsIDOMCanvasRenderingContext2D,
|
||||
SetStrokeStyle_multi, (const nsAString &, nsISupports *));
|
||||
typedef NS_STDCALL_FUNCPROTO(nsresult, CanvasStyleGetterType, nsIDOMCanvasRenderingContext2D,
|
||||
GetStrokeStyle_multi, (nsAString &, nsISupports **, PRInt32 *));
|
||||
|
||||
static JSBool
|
||||
Canvas2D_SetStyleHelper(JSContext *cx, JSObject *obj, jsid id, jsval *vp,
|
||||
|
|
Загрузка…
Ссылка в новой задаче