* removed paths in include directives * changed cmake to provide necessary header search paths * changed name of version.h to productVersion.h due to name conflict
21 lines
391 B
C++
21 lines
391 B
C++
#include "DefinitionKind.h"
|
|
|
|
int definitionKindToInt(DefinitionKind definitionKind)
|
|
{
|
|
return definitionKind;
|
|
}
|
|
|
|
DefinitionKind intToDefinitionKind(int definitionKind)
|
|
{
|
|
switch (definitionKind)
|
|
{
|
|
case DEFINITION_NONE:
|
|
return DEFINITION_NONE;
|
|
case DEFINITION_IMPLICIT:
|
|
return DEFINITION_IMPLICIT;
|
|
case DEFINITION_EXPLICIT:
|
|
return DEFINITION_EXPLICIT;
|
|
}
|
|
return DEFINITION_NONE;
|
|
}
|