*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
671e5f23c7
commit
6f640c1b45
3 changed files with 12 additions and 1 deletions
|
|
@ -1,5 +1,14 @@
|
||||||
Version 1.3.18 (In progress)
|
Version 1.3.18 (In progress)
|
||||||
============================
|
============================
|
||||||
|
02/27/2003: beazley
|
||||||
|
Fixed [ 653548 ] error parsing casting operator definition.
|
||||||
|
SWIG now ignores casting operators declared outside of a class.
|
||||||
|
For example:
|
||||||
|
|
||||||
|
inline A::operator char *() { ... }
|
||||||
|
|
||||||
|
Bug reported by Martin Casado.
|
||||||
|
|
||||||
02/27/2003: beazley
|
02/27/2003: beazley
|
||||||
Added support for anonymous bit-fields. For example:
|
Added support for anonymous bit-fields. For example:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
%module cast_operator
|
%module cast_operator
|
||||||
|
|
||||||
|
%rename(tochar) A::operator char*() const;
|
||||||
%inline %{
|
%inline %{
|
||||||
struct A
|
struct A
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ DYNAMIC_LIB_PATH = $(RUNTIMEDIR):.
|
||||||
|
|
||||||
# Broken C++ test cases. (Can be run individually using make testcase.cpptest.)
|
# Broken C++ test cases. (Can be run individually using make testcase.cpptest.)
|
||||||
CPP_TEST_BROKEN += \
|
CPP_TEST_BROKEN += \
|
||||||
cast_operator \
|
|
||||||
namespace_nested \
|
namespace_nested \
|
||||||
template_default_arg \
|
template_default_arg \
|
||||||
template_extend_overload \
|
template_extend_overload \
|
||||||
|
|
@ -75,6 +74,7 @@ CPP_TEST_CASES += \
|
||||||
bool_default \
|
bool_default \
|
||||||
bools \
|
bools \
|
||||||
casts \
|
casts \
|
||||||
|
cast_operator \
|
||||||
class_ignore \
|
class_ignore \
|
||||||
const_const_2 \
|
const_const_2 \
|
||||||
constant_pointers \
|
constant_pointers \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue