handle const pointers to functions
This commit is contained in:
parent
ba333729c3
commit
350d43d988
6 changed files with 9 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue