Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user