handle const pointers to functions

This commit is contained in:
Paweł Tomulik 2016-03-23 16:11:15 +01:00
commit 350d43d988
6 changed files with 9 additions and 2 deletions

View file

@ -16,3 +16,4 @@ assert(fc.addByValue(5,10) == 15)
assert(fc.call1(fc.ADD_BY_VALUE, 5, 10) == 15)
assert(fc.call2(fc.ADD_BY_POINTER, 7, 9) == 16)
assert(fc.call3(fc.ADD_BY_REFERENCE, 8, 9) == 17)
assert(fc.call1(fc.ADD_BY_VALUE_C, 2, 3) == 5)