[OCaml] Fix handling of exception specifications for director classes
The OCaml module was generating invalid code for director classes which contain methods with exception specifications. The fix is based on some of the code in python.cxx's classDirectorMethod(). This commit fixes compilation failures for a number of director unit tests. Add director_exception_catches_runme.ml, director_exception_nothrow_runme.ml, and director_ignore_runme.ml.
This commit is contained in:
parent
7118e4ef1e
commit
35663b1622
5 changed files with 79 additions and 9 deletions
|
|
@ -22,20 +22,13 @@ cpp_enum \
|
|||
default_constructor \
|
||||
director_binary_string \
|
||||
director_enum \
|
||||
director_exception \
|
||||
director_exception_nothrow \
|
||||
director_ignore \
|
||||
director_nested \
|
||||
director_pass_by_value \
|
||||
director_primitives \
|
||||
director_protected \
|
||||
director_redefined \
|
||||
director_string \
|
||||
director_using \
|
||||
enum_thorough \
|
||||
li_windows \
|
||||
member_pointer_const \
|
||||
nested_directors \
|
||||
preproc_constants \
|
||||
smart_pointer_inherit \
|
||||
typedef_mptr \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue