This commit is contained in:
mlangkabel
2018-11-30 16:16:31 +01:00
parent e105ac88ca
commit ea3abfc026
38 changed files with 187291 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "DefinitionKind.h"
namespace sourcetrail
{
int definitionKindToInt(DefinitionKind v)
{
return v;
}
DefinitionKind intToDefinitionKind(int v)
{
if (v == definitionKindToInt(DEFINITION_IMPLICIT))
return DEFINITION_IMPLICIT;
if (v == definitionKindToInt(DEFINITION_EXPLICIT))
return DEFINITION_EXPLICIT;
return DEFINITION_EXPLICIT;
}
}