Skip to content

Commit

Permalink
Merge branch 'master' into string_hack
Browse files Browse the repository at this point in the history
  • Loading branch information
CerielJacobs committed Apr 10, 2019
2 parents edf4786 + 033f753 commit 73e1cd1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vlog/java/native/VLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@ extern "C" {

//Transform the string into a C++ string
std::string predName = jstring2string(env, p);
if (predName.find("neg_") == 0) {
predName = predName.substr(4);
}

// TODO: fix this: this might create a new predicate if it does not exist.
// There should be a way to just do a lookup???
Expand All @@ -441,6 +444,9 @@ extern "C" {

//Transform the string into a C++ string
std::string predName = jstring2string(env, p);
if (predName.find("neg_") == 0) {
predName = predName.substr(4);
}

// TODO: fix this: this might create a new predicate if it does not exist.
// There should be a way to just do a lookup???
Expand Down

0 comments on commit 73e1cd1

Please sign in to comment.