html validation fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8205ca9de8
commit
0a8e2111d3
29 changed files with 36 additions and 35 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>SWIG and C#</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<H1><a name="CSharp"></a>16 SWIG and C#</H1>
|
||||
|
|
@ -715,10 +715,10 @@ SWIGEXPORT void SWIGSTDCALL CSharp_evensonly(int jarg1) {
|
|||
evensonly(arg1);
|
||||
}
|
||||
catch(std::out_of_range &_e) {
|
||||
{
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), NULL);
|
||||
return ;
|
||||
}
|
||||
{
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, (&_e)->what(), NULL);
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -778,7 +778,8 @@ the C# code can be generated into the intermediary class using the <tt>imclassco
|
|||
new CustomExceptionDelegate(SetPendingCustomException);
|
||||
|
||||
[DllImport("$dllimport", EntryPoint="CustomExceptionRegisterCallback")]
|
||||
public static extern void CustomExceptionRegisterCallback(CustomExceptionDelegate customCallback);
|
||||
public static extern
|
||||
void CustomExceptionRegisterCallback(CustomExceptionDelegate customCallback);
|
||||
|
||||
static void SetPendingCustomException(string message) {
|
||||
SWIGPendingException.Set(new CustomApplicationException(message));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue