Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Fix webkit enums that are ushort (not the default int32)
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed Dec 28, 2012
1 parent 2da93ad commit 92db75d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/WebKit/Enums.cs
Expand Up @@ -2,7 +2,7 @@

namespace MonoMac.WebKit {

public enum DomCssRuleType {
public enum DomCssRuleType : ushort {
Unknown = 0,
Style = 1,
Charset = 2,
Expand All @@ -15,7 +15,7 @@ public enum DomCssRuleType {
WebKitKeyFrame = 9
}

public enum DomCssValueType {
public enum DomCssValueType : ushort {
Inherit = 0,
PrimitiveValue = 1,
ValueList = 2,
Expand All @@ -32,7 +32,7 @@ public enum DomDocumentPosition {
ImplementationSpecific = 0x20
}

public enum DomNodeType {
public enum DomNodeType : ushort {
Element = 1,
Attribute = 2,
Text = 3,
Expand All @@ -47,7 +47,7 @@ public enum DomNodeType {
Notation = 12
}

public enum DomRangeCompareHow {
public enum DomRangeCompareHow : ushort {
StartToStart = 0,
StartToEnd = 1,
EndToEnd = 2,
Expand All @@ -58,7 +58,7 @@ public enum WebCacheModel {
DocumentViewer, DocumentBrowser, PrimaryWebBrowser
}

public enum DomEventPhase {
public enum DomEventPhase : ushort {
Capturing = 1, AtTarget, Bubbling
}

Expand Down

0 comments on commit 92db75d

Please sign in to comment.