[D] Exception and Error have become blessed names; removed d_exception_name test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8fa4d20ec3
commit
17a7ba0403
4 changed files with 3 additions and 16 deletions
|
|
@ -7,6 +7,7 @@ Version 2.0.5 (in progress)
|
|||
|
||||
2012-01-23: klickverbot
|
||||
[D] Correctly annotate function pointers with C linkage.
|
||||
[D] Exception and Error have become blessed names; removed d_exception_name test case.
|
||||
|
||||
2012-01-20: wsfulton
|
||||
[Python] Add Python stepped slicing support to the STL wrappers (std::vector, std::list).
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ endif
|
|||
TESTSUFFIX = _runme$(VERSIONSUFFIX).d
|
||||
|
||||
CPP_TEST_CASES = \
|
||||
d_exception_name \
|
||||
d_nativepointers \
|
||||
exception_partial_info
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
// Tests if exception handling still works in the presence of a wrapped C++
|
||||
// class called »Exception«, which could shadow the built-in Exception class.
|
||||
%module d_exception_name
|
||||
|
||||
%inline %{
|
||||
class Exception {
|
||||
Exception(int i) {}
|
||||
};
|
||||
|
||||
class Foo {
|
||||
~Foo() {}
|
||||
public:
|
||||
void bar(Exception *e) {}
|
||||
};
|
||||
%}
|
||||
|
|
@ -5,6 +5,8 @@
|
|||
#define DKEYWORD(x) %keywordwarn("'" `x` "' is a D keyword, renaming to '_" `x` "'",rename="_%s") `x`
|
||||
|
||||
// Source: http://www.digitalmars.com/d/{1.0,2.0}/lex.html and
|
||||
DKEYWORD(Error);
|
||||
DKEYWORD(Exception);
|
||||
DKEYWORD(Object);
|
||||
DKEYWORD(__FILE__);
|
||||
DKEYWORD(__LINE__);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue