Skip to content

Commit

Permalink
Merge pull request emscripten-core#4788 from AlexPerrot/fix-embind-test
Browse files Browse the repository at this point in the history
Fix embind test for overloads of free functions
  • Loading branch information
juj authored Dec 13, 2016
2 parents 39c8ed6 + e248322 commit 579bbd7
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 579bbd7

Please sign in to comment.