mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
# 37239
r = rickg, a = brendan OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
This commit is contained in:
parent
37dbea65b0
commit
960c583bb7
@ -19,13 +19,7 @@
|
||||
*
|
||||
* Contributor(s):
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*
|
||||
* This Original Code has been modified by IBM Corporation. Modifications made by IBM
|
||||
* described herein are Copyright (c) International Business Machines Corporation, 2000.
|
||||
* Modifications to Mozilla code or documentation identified per MPL Section 3.3
|
||||
*
|
||||
* Date Modified by Description of modification
|
||||
* 04/20/2000 IBM Corp. OS/2 VisualAge build.
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include "nsICSSStyleSheet.h"
|
||||
@ -3484,7 +3478,7 @@ PRBool PR_CALLBACK StateSelectorsSizeEnumFunc( void *aSelector, void *aData )
|
||||
}
|
||||
|
||||
static
|
||||
PRBool PR_CALLBACK WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
PRBool WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
{
|
||||
nsICSSStyleRule* rule = (nsICSSStyleRule*)aRule;
|
||||
CascadeSizeEnumData *pData = (CascadeSizeEnumData *)aData;
|
||||
|
@ -18,6 +18,7 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
@ -78,7 +79,7 @@ float nsStyleUtil::GetScalingFactor(PRInt32 aScaler)
|
||||
|
||||
static PRBool gNavAlgorithmPref = PR_FALSE;
|
||||
|
||||
static int NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
static int PR_CALLBACK NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
{
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||
|
@ -18,6 +18,7 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
@ -78,7 +79,7 @@ float nsStyleUtil::GetScalingFactor(PRInt32 aScaler)
|
||||
|
||||
static PRBool gNavAlgorithmPref = PR_FALSE;
|
||||
|
||||
static int NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
static int PR_CALLBACK NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
{
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||
|
@ -101,7 +101,7 @@ static const char* kLoadAsData = "loadAsData";
|
||||
// ==================================================================
|
||||
|
||||
|
||||
static int
|
||||
static int PR_CALLBACK
|
||||
MyPrefChangedCallback(const char*aPrefName, void* instance_data)
|
||||
{
|
||||
nsresult rv;
|
||||
|
@ -19,13 +19,7 @@
|
||||
*
|
||||
* Contributor(s):
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*
|
||||
* This Original Code has been modified by IBM Corporation. Modifications made by IBM
|
||||
* described herein are Copyright (c) International Business Machines Corporation, 2000.
|
||||
* Modifications to Mozilla code or documentation identified per MPL Section 3.3
|
||||
*
|
||||
* Date Modified by Description of modification
|
||||
* 04/20/2000 IBM Corp. OS/2 VisualAge build.
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include "nsICSSStyleSheet.h"
|
||||
@ -3484,7 +3478,7 @@ PRBool PR_CALLBACK StateSelectorsSizeEnumFunc( void *aSelector, void *aData )
|
||||
}
|
||||
|
||||
static
|
||||
PRBool PR_CALLBACK WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
PRBool WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
{
|
||||
nsICSSStyleRule* rule = (nsICSSStyleRule*)aRule;
|
||||
CascadeSizeEnumData *pData = (CascadeSizeEnumData *)aData;
|
||||
|
@ -18,6 +18,7 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
@ -78,7 +79,7 @@ float nsStyleUtil::GetScalingFactor(PRInt32 aScaler)
|
||||
|
||||
static PRBool gNavAlgorithmPref = PR_FALSE;
|
||||
|
||||
static int NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
static int PR_CALLBACK NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
{
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||
|
@ -19,13 +19,7 @@
|
||||
*
|
||||
* Contributor(s):
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*
|
||||
* This Original Code has been modified by IBM Corporation. Modifications made by IBM
|
||||
* described herein are Copyright (c) International Business Machines Corporation, 2000.
|
||||
* Modifications to Mozilla code or documentation identified per MPL Section 3.3
|
||||
*
|
||||
* Date Modified by Description of modification
|
||||
* 04/20/2000 IBM Corp. OS/2 VisualAge build.
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include "nsICSSStyleSheet.h"
|
||||
@ -3484,7 +3478,7 @@ PRBool PR_CALLBACK StateSelectorsSizeEnumFunc( void *aSelector, void *aData )
|
||||
}
|
||||
|
||||
static
|
||||
PRBool PR_CALLBACK WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
PRBool WeightedRulesSizeEnumFunc( nsISupports *aRule, void *aData )
|
||||
{
|
||||
nsICSSStyleRule* rule = (nsICSSStyleRule*)aRule;
|
||||
CascadeSizeEnumData *pData = (CascadeSizeEnumData *)aData;
|
||||
|
@ -18,6 +18,7 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* IBM Corp.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
@ -78,7 +79,7 @@ float nsStyleUtil::GetScalingFactor(PRInt32 aScaler)
|
||||
|
||||
static PRBool gNavAlgorithmPref = PR_FALSE;
|
||||
|
||||
static int NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
static int PR_CALLBACK NavAlgorithmPrefChangedCallback(const char * name, void * closure)
|
||||
{
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||
|
@ -101,7 +101,7 @@ static const char* kLoadAsData = "loadAsData";
|
||||
// ==================================================================
|
||||
|
||||
|
||||
static int
|
||||
static int PR_CALLBACK
|
||||
MyPrefChangedCallback(const char*aPrefName, void* instance_data)
|
||||
{
|
||||
nsresult rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user