fix truncation in generated pdf docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7bd6268607
commit
99032e80df
3 changed files with 14 additions and 9 deletions
|
|
@ -1881,11 +1881,11 @@ return-val wrapper-name(parm0, parm1, ..., parmN)
|
|||
enum SWIGTYPE "$body";
|
||||
%typemap(lout) SWIGTYPE[ANY], SWIGTYPE *,
|
||||
SWIGTYPE & "(cl:make-instance '$lclass :foreign-address $body)";
|
||||
%typemap(lout) SWIGTYPE "(cl:let* ((address $body)\n
|
||||
(ACL_result (cl:make-instance '$lclass :foreign-address address)))\n
|
||||
(cl:unless (cl::zerop address)\n
|
||||
(excl:schedule-finalization ACL_result #'$ldestructor))\n
|
||||
ACL_result)";
|
||||
%typemap(lout) SWIGTYPE "(cl:let* ((address $body)\n
|
||||
(ACL_result (cl:make-instance '$lclass :foreign-address address)))\n
|
||||
(cl:unless (cl::zerop address)\n
|
||||
(excl:schedule-finalization ACL_result #'$ldestructor))\n
|
||||
ACL_result)";
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -2081,7 +2081,8 @@ SWIGEXPORT void JNICALL Java_exampleJNI_Foo_1x_1set(JNIEnv *jenv, jclass jcls,
|
|||
SWIGEXPORT jint JNICALL Java_exampleJNI_Foo_1x_1get(JNIEnv *jenv, jclass jcls,
|
||||
jlong jarg1, jobject jarg1_);
|
||||
SWIGEXPORT jint JNICALL Java_exampleJNI_Foo_1spam(JNIEnv *jenv, jclass jcls,
|
||||
jlong jarg1, jobject jarg1_, jint jarg2, jlong jarg3, jobject jarg3_);
|
||||
jlong jarg1, jobject jarg1_, jint jarg2,
|
||||
jlong jarg3, jobject jarg3_);
|
||||
SWIGEXPORT void JNICALL Java_exampleJNI_egg(JNIEnv *jenv, jclass jcls,
|
||||
jlong jarg1, jobject jarg1_);
|
||||
</pre>
|
||||
|
|
@ -2098,7 +2099,8 @@ class exampleJNI {
|
|||
public final static native void delete_Foo(long jarg1);
|
||||
public final static native void Foo_x_set(long jarg1, Foo jarg1_, int jarg2);
|
||||
public final static native int Foo_x_get(long jarg1, Foo jarg1_);
|
||||
public final static native int Foo_spam(long jarg1, Foo jarg1_, int jarg2, long jarg3, Foo jarg3_);
|
||||
public final static native int Foo_spam(long jarg1, Foo jarg1_, int jarg2,
|
||||
long jarg3, Foo jarg3_);
|
||||
public final static native void egg(long jarg1, Foo jarg1_);
|
||||
}
|
||||
</pre>
|
||||
|
|
@ -4595,7 +4597,8 @@ resulting in the following code which breaks the aliasing rules:
|
|||
</p>
|
||||
|
||||
<div class="code"><pre>
|
||||
SWIGEXPORT jlong JNICALL Java_exampleJNI_FooBar(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
|
||||
SWIGEXPORT jlong JNICALL Java_exampleJNI_FooBar(JNIEnv *jenv, jclass jcls,
|
||||
jlong jarg1, jobject jarg1_) {
|
||||
jlong jresult = 0 ;
|
||||
struct Foo *arg1 = (struct Foo *) 0 ;
|
||||
struct Bar *result = 0 ;
|
||||
|
|
|
|||
|
|
@ -446,7 +446,9 @@ namespace OpenDemo {
|
|||
|
||||
static float distance (const Test& a, const Test& b){return(a-b).length();}
|
||||
|
||||
inline Test parallelComponent (const Test& unitBasis) const { return unitBasis * projection; }
|
||||
inline Test parallelComponent (const Test& unitBasis) const {
|
||||
return unitBasis * projection;
|
||||
}
|
||||
|
||||
Test setYtoZero (void) const {return Test (this->x);}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue