Commit Graph

9 Commits

Author SHA1 Message Date
Olly Betts 44990e2562 Move #2087 regression test to cpp11_noexcept.i 2024-07-27 17:53:45 +12:00
Olly Betts a0a50812b5 Fix new testcase to compile with C++98 compiler 2024-07-27 16:58:02 +12:00
Olly Betts 429a5b4e9a Fix parsing of noexcept on param with func pointer type
We currently generate invalid C++ code if we try to wrap the function
parameter, but at least the user can `%ignore` the parameter or the
whole function, whereas the parse error was hard to work around.

See #2087
2024-07-27 16:08:58 +12:00
William S Fulton c0481ce99d Add Python runtime test for const function pointer 2018-11-13 07:35:44 +00:00
William S Fulton 6a7cd97fe9 Fix R function pointer wrappers containing lvalue and rvalue reference parameters 2017-06-16 07:41:05 +01:00
Paweł Tomulik 350d43d988 handle const pointers to functions 2016-03-24 10:59:23 +01:00
William S Fulton fa8915ef5f Fix regression introduced in swig-2.0.1 (r12157) leading to uncompilable code when using typedef and function pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-19 20:54:39 +00:00
William S Fulton 77110db863 Sun studio warning suppression in tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 13:02:21 +00:00
William S Fulton 568607c5ea Fix wrapping of function pointers and member function pointers when the function returns by reference
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-16 18:45:22 +00:00