summaryrefslogtreecommitdiff
path: root/Lib/d/dhead.swg
diff options
context:
space:
mode:
authorDavid Nadlinger <code@klickverbot.at>2012-04-17 12:17:42 +0000
committerDavid Nadlinger <code@klickverbot.at>2012-04-17 12:17:42 +0000
commit7615b099d1281f06aecd9092eef93948a0057e5a (patch)
tree65e89445e8c0d670813029a3690dc3825fb72c90 /Lib/d/dhead.swg
parent1fbcafc0ea5b38e091fff7582b48f72037790400 (diff)
downloadswig-7615b099d1281f06aecd9092eef93948a0057e5a.tar.gz
[D] Reverted part of #3502431 mistakenly applied in r12948.
(The changes only concerned D2, and were already present in trunk.) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/d/dhead.swg')
-rw-r--r--Lib/d/dhead.swg12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/d/dhead.swg b/Lib/d/dhead.swg
index 9b3ec3470..7a2f4fddc 100644
--- a/Lib/d/dhead.swg
+++ b/Lib/d/dhead.swg
@@ -91,31 +91,31 @@ private class SwigExceptionHelper {
&setNoSuchElementException);
}
- static void setException(const char* message) {
+ static void setException(char* message) {
auto exception = new object.Exception(tango.stdc.stringz.fromStringz(message).dup);
exception.next = SwigPendingException.retrieve();
SwigPendingException.set(exception);
}
- static void setIllegalArgumentException(const char* message) {
+ static void setIllegalArgumentException(char* message) {
auto exception = new tango.core.Exception.IllegalArgumentException(tango.stdc.stringz.fromStringz(message).dup);
exception.next = SwigPendingException.retrieve();
SwigPendingException.set(exception);
}
- static void setIllegalElementException(const char* message) {
+ static void setIllegalElementException(char* message) {
auto exception = new tango.core.Exception.IllegalElementException(tango.stdc.stringz.fromStringz(message).dup);
exception.next = SwigPendingException.retrieve();
SwigPendingException.set(exception);
}
- static void setIOException(const char* message) {
+ static void setIOException(char* message) {
auto exception = new tango.core.Exception.IOException(tango.stdc.stringz.fromStringz(message).dup);
exception.next = SwigPendingException.retrieve();
SwigPendingException.set(exception);
}
- static void setNoSuchElementException(const char* message) {
+ static void setNoSuchElementException(char* message) {
auto exception = new tango.core.Exception.NoSuchElementException(tango.stdc.stringz.fromStringz(message).dup);
exception.next = SwigPendingException.retrieve();
SwigPendingException.set(exception);
@@ -174,7 +174,7 @@ private:
alias tango.core.Thread.ThreadLocal!(object.Exception) ThreadLocalData;
static ThreadLocalData m_sPendingException;
}
-alias void function(const char* message) SwigExceptionCallback;
+alias void function(char* message) SwigExceptionCallback;
%}
#else
%pragma(d) imdmoduleimports=%{