Skip to content

Commit

Permalink
fix embind test for overloads of free functions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPerrot committed Dec 10, 2016
1 parent 39c8ed6 commit e248322
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/embind/embind_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2366,6 +2366,9 @@ EMSCRIPTEN_BINDINGS(overloads) {
.function("dummy", select_overload<DummyForOverloads()>(&MultipleOverloadsDependingOnDummy::dummy))
.function("dummy", select_overload<DummyForOverloads(DummyForOverloads)>(&MultipleOverloadsDependingOnDummy::dummy))
;

function("getDummy", select_overload<DummyForOverloads(void)>(&getDummy));
function("getDummy", select_overload<DummyForOverloads(DummyForOverloads)>(&getDummy));
}

// tests for out-of-order registration
Expand Down

0 comments on commit e248322

Please sign in to comment.