@@ -68,7 +68,7 @@ struct DecoderState {
68
68
JSONObjectDecoder * dec ;
69
69
};
70
70
71
- JSOBJ FASTCALL_MSVC decode_any (struct DecoderState * ds ) FASTCALL_ATTR ;
71
+ JSOBJ FASTCALL_MSVC decode_any (struct DecoderState * ds );
72
72
typedef JSOBJ (* PFN_DECODER )(struct DecoderState * ds );
73
73
74
74
static JSOBJ SetError (struct DecoderState * ds , int offset ,
@@ -99,7 +99,7 @@ double createDouble(double intNeg, double intValue, double frcValue,
99
99
return (intValue + (frcValue * g_pow10 [frcDecimalCount ])) * intNeg ;
100
100
}
101
101
102
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decodePreciseFloat (struct DecoderState * ds ) {
102
+ JSOBJ FASTCALL_MSVC decodePreciseFloat (struct DecoderState * ds ) {
103
103
char * end ;
104
104
double value ;
105
105
errno = 0 ;
@@ -114,7 +114,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decodePreciseFloat(struct DecoderState *ds) {
114
114
return ds -> dec -> newDouble (ds -> prv , value );
115
115
}
116
116
117
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_numeric (struct DecoderState * ds ) {
117
+ JSOBJ FASTCALL_MSVC decode_numeric (struct DecoderState * ds ) {
118
118
int intNeg = 1 ;
119
119
int mantSize = 0 ;
120
120
JSUINT64 intValue ;
@@ -340,7 +340,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_numeric(struct DecoderState *ds) {
340
340
pow (10.0 , expValue * expNeg ));
341
341
}
342
342
343
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_true (struct DecoderState * ds ) {
343
+ JSOBJ FASTCALL_MSVC decode_true (struct DecoderState * ds ) {
344
344
char * offset = ds -> start ;
345
345
offset ++ ;
346
346
@@ -356,7 +356,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_true(struct DecoderState *ds) {
356
356
return SetError (ds , -1 , "Unexpected character found when decoding 'true'" );
357
357
}
358
358
359
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_false (struct DecoderState * ds ) {
359
+ JSOBJ FASTCALL_MSVC decode_false (struct DecoderState * ds ) {
360
360
char * offset = ds -> start ;
361
361
offset ++ ;
362
362
@@ -373,7 +373,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_false(struct DecoderState *ds) {
373
373
return SetError (ds , -1 , "Unexpected character found when decoding 'false'" );
374
374
}
375
375
376
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_null (struct DecoderState * ds ) {
376
+ JSOBJ FASTCALL_MSVC decode_null (struct DecoderState * ds ) {
377
377
char * offset = ds -> start ;
378
378
offset ++ ;
379
379
@@ -389,7 +389,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_null(struct DecoderState *ds) {
389
389
return SetError (ds , -1 , "Unexpected character found when decoding 'null'" );
390
390
}
391
391
392
- FASTCALL_ATTR void FASTCALL_MSVC SkipWhitespace (struct DecoderState * ds ) {
392
+ void FASTCALL_MSVC SkipWhitespace (struct DecoderState * ds ) {
393
393
char * offset ;
394
394
395
395
for (offset = ds -> start ; (ds -> end - offset ) > 0 ; offset ++ ) {
@@ -677,7 +677,7 @@ static const JSUINT8 g_decoderLookup[256] = {
677
677
DS_UTFLENERROR ,
678
678
};
679
679
680
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_string (struct DecoderState * ds ) {
680
+ JSOBJ FASTCALL_MSVC decode_string (struct DecoderState * ds ) {
681
681
JSUTF16 sur [2 ] = {0 };
682
682
int iSur = 0 ;
683
683
int index ;
@@ -957,7 +957,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_string(struct DecoderState *ds) {
957
957
}
958
958
}
959
959
960
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_array (struct DecoderState * ds ) {
960
+ JSOBJ FASTCALL_MSVC decode_array (struct DecoderState * ds ) {
961
961
JSOBJ itemValue ;
962
962
JSOBJ newObj ;
963
963
int len ;
@@ -1021,7 +1021,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_array(struct DecoderState *ds) {
1021
1021
}
1022
1022
}
1023
1023
1024
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_object (struct DecoderState * ds ) {
1024
+ JSOBJ FASTCALL_MSVC decode_object (struct DecoderState * ds ) {
1025
1025
JSOBJ itemName ;
1026
1026
JSOBJ itemValue ;
1027
1027
JSOBJ newObj ;
@@ -1104,7 +1104,7 @@ FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_object(struct DecoderState *ds) {
1104
1104
}
1105
1105
}
1106
1106
1107
- FASTCALL_ATTR JSOBJ FASTCALL_MSVC decode_any (struct DecoderState * ds ) {
1107
+ JSOBJ FASTCALL_MSVC decode_any (struct DecoderState * ds ) {
1108
1108
for (;;) {
1109
1109
switch (* ds -> start ) {
1110
1110
case '\"' :
0 commit comments