Skip to content

Commit

Permalink
Function name overload when compile with llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperlinthorst committed Mar 26, 2018
1 parent 609cc45 commit a7b681a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions probcons/Probcons.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1499,8 +1499,7 @@ int ComputeScore (const SafeVector<pair<int, int> > &active, const SafeVector<Sa

//PYTHON LIB!


static PyObject *align(Probcons *self, PyObject *args, PyObject *keywds)
static PyObject *bpalign(Probcons *self, PyObject *args, PyObject *keywds)
{
PyObject * seqlist;

Expand Down Expand Up @@ -1608,7 +1607,7 @@ static PyObject *align(Probcons *self, PyObject *args, PyObject *keywds)


static PyMethodDef probcons_methods[] = {
{ "align", (PyCFunction) align, METH_VARARGS|METH_KEYWORDS },
{ "align", (PyCFunction) bpalign, METH_VARARGS|METH_KEYWORDS },
{ NULL, NULL }
};

Expand Down

0 comments on commit a7b681a

Please sign in to comment.