* renamed DefinitionType to DefinitionKind * passing DefinitionKind from Java to C++ instead of just a single bool * omitting to create a symbol for undefined types fortune cookie message = Happy news is on the way to you.
15 lines
360 B
C
15 lines
360 B
C
#ifndef DEFINITION_KIND_H
|
|
#define DEFINITION_KIND_H
|
|
|
|
enum DefinitionKind
|
|
{ // these values need to be the same as DefinitionKind in Java code
|
|
DEFINITION_NONE = 0,
|
|
DEFINITION_IMPLICIT = 1,
|
|
DEFINITION_EXPLICIT = 2
|
|
};
|
|
|
|
int definitionKindToInt(DefinitionKind definitionKind);
|
|
DefinitionKind intToDefinitionKind(int definitionKind);
|
|
|
|
#endif // DEFINITION_TYPE_H
|