Skip to content

Commit 7935821

Browse files
committed
avm2: Add API versioning to some flash.globalization classes
1 parent 5c4ae2d commit 7935821

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

core/src/avm2/globals/flash/globalization/LastOperationStatus.as

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
// by https://github.com/golfinq/ActionScript_Event_Builder
44
// It won't be regenerated in the future, so feel free to edit and/or fix
55

6-
package flash.globalization
7-
{
8-
9-
public final class LastOperationStatus
10-
{
6+
package flash.globalization {
7+
[API("667")]
8+
public final class LastOperationStatus {
119
// Indicates that given buffer is not enough to hold the result.
1210
public static const BUFFER_OVERFLOW_ERROR:String = "bufferOverflowError";
1311

@@ -58,6 +56,5 @@ package flash.globalization
5856

5957
// Indicates that a fallback value was set during the most recent operation.
6058
public static const USING_FALLBACK_WARNING:String = "usingFallbackWarning";
61-
6259
}
6360
}

core/src/avm2/globals/flash/globalization/LocaleID.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package flash.globalization {
44
import __ruffle__.stub_method;
55
import flash.globalization.LastOperationStatus;
66

7+
[API("667")]
78
public final class LocaleID {
89
public static const DEFAULT:String = "i-default";
910

0 commit comments

Comments
 (0)