update readme: REFERENCE_CALL -> ReferenceKind::CALL (#21)

This commit is contained in:
Wojciech Baranowski
2019-11-25 10:54:40 +01:00
committed by Malte Langkabel
parent 1e9f34ca89
commit 2ffb5b2af0
+1 -1
View File
@@ -260,7 +260,7 @@ int contextSymbolId = writer.recordSymbol({ "::", { { "", "Bar", "" }, { "void",
int referencedSymbolId = writer.recordSymbol({ "::", { { "void", "foo", "()" } } });
// edges always go from the context to the referenced symbol
int referenceId = writer.recordReference(contextSymbolId, referencedSymbolId, sourcetrail::REFERENCE_CALL);
int referenceId = writer.recordReference(contextSymbolId, referencedSymbolId, sourcetrail::ReferenceKind::CALL);
// add a location to the reference - highlights the location in the code view when clicking the edge in the graph view
int fileId = writer.recordFile("C:/example/Bar.cpp");