Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries

This commit is contained in:
Mikhail Glukhikh
2015-05-18 13:19:52 +03:00
parent 5c3d8c1616
commit fdf0ea5546
77 changed files with 399 additions and 399 deletions
+4 -4
View File
@@ -35,10 +35,10 @@ data class Constant(val name: String, val type: String, val value: String?)
fun Attribute.formatFunctionTypePart() = if (vararg) "vararg $type" else type
enum class DefinitionKind {
INTERFACE
TYPEDEF
EXTENSION_INTERFACE
ENUM
INTERFACE,
TYPEDEF,
EXTENSION_INTERFACE,
ENUM,
DICTIONARY
}
@@ -43,13 +43,13 @@ val GenerateAttribute.signature: String
fun GenerateAttribute.dynamicIfUnknownType(allTypes : Set<String>, standardTypes : Set<String> = standardTypes()) = copy(type = type.dynamicIfUnknownType(allTypes, standardTypes))
enum class NativeGetterOrSetter {
NONE
GETTER
NONE,
GETTER,
SETTER
}
enum class GenerateDefinitionKind {
TRAIT
TRAIT,
CLASS
}