summaryrefslogtreecommitdiff
path: root/tests/run/cpp_function_lib.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/cpp_function_lib.pxd')
-rw-r--r--tests/run/cpp_function_lib.pxd6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run/cpp_function_lib.pxd b/tests/run/cpp_function_lib.pxd
index 2a5d72886..ba6694cb9 100644
--- a/tests/run/cpp_function_lib.pxd
+++ b/tests/run/cpp_function_lib.pxd
@@ -13,7 +13,7 @@ cdef extern from "cpp_function_lib.h":
double call "operator()"(double a, int b)
cdef cppclass FunctionKeeper:
- FunctionKeeper(function[double(double, int)] user_function)
- void set_function(function[double(double, int)] user_function)
- function[double(double, int)] get_function()
+ FunctionKeeper(function[double(double, int) noexcept] user_function)
+ void set_function(function[double(double, int) noexcept] user_function)
+ function[double(double, int) noexcept] get_function()
double call_function(double a, int b) except +