<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.programming.swig">
    <title>gmane.comp.programming.swig</title>
    <link>http://blog.gmane.org/gmane.comp.programming.swig</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13316"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13315"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13314"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13313"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13312"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13311"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13310"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13309"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13308"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13307"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13306"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13305"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13304"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13303"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13302"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13301"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13300"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13299"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13298"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.programming.swig/13297"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13316">
    <title>Compilation errors when using Perl 5.8 headers,to upgrade the module from 5.6.1</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13316</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Thomas Theakanath</dc:creator>
    <dc:date>2008-08-21T00:46:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13315">
    <title>Re: Can't find jni files when using packages</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13315</link>
    <description>Thank you for the tips.  I'm a complete novice wrt swig.  I'm trying to 
interface a bigger library and this is a made up sample of what I'm 
trying to do.  I was using a sample interface file from the 
documentation rather blindly, I'm afraid, without understanding what it 
was doing.

Thanks for the guidance.

Jim.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Jim</dc:creator>
    <dc:date>2008-08-20T11:14:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13314">
    <title>Re: Can't find jni files when using packages</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13314</link>
    <description>
I'd suggest using only one %module directive per interface file.

It appears to me that only the "%module book" directive is taking
effect, because you specified "%module document" with a lower case
'd', but the compiler is trying to find "Document" with an upper case
'D'. Probably Document.java was produced by swig wrapping the Document
type instead of by the "%module document" directive as you may have
expected.

I wrap static functions, constructors, etc. in a module names
something like "libfay" and mostly allow swig to name the types
wrappers. A great deal depends on how your code is structured. I
usually also write a custom interface file instead of trying to pull
in the original header. YMMV.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Solomon Gibbs</dc:creator>
    <dc:date>2008-08-20T02:41:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13313">
    <title>Re: Can't find jni files when using packages</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13313</link>
    <description>So am I to believe that is problem is unsolvable?  How does anyone use 
swig and java?  Are there any canned examples anywhere?  The only 
mention of packages in the documentation I've been able to locate is 
this brief statement:

"The generated Java classes can be placed into a Java package by using 
the -package commandline option. This is often combined with the -outdir 
to specify a package directory for generating the Java files."

Which I did and left me with uncompilable java files.

Can anyone point me to a better place to ask this question?

Thanks,
Jim.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Jim</dc:creator>
    <dc:date>2008-08-19T13:22:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13312">
    <title>Re: array parameters and pinning in c#</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13312</link>
    <description>On Tue, 19 Aug 2008 01:30:14 +0300, William S Fulton  
&lt;wsf&lt; at &gt;fultondesigns.co.uk&gt; wrote:


   This is arguably so, but I don't think it helps here. To illustrate,  
here's the generated code in the module class:

$prestuff
try {
   $imcall
} finally {
   $poststuff
}

   Now, if a scope is closed in $poststuff, the last closing scope actually  
closes the finally block. There may be some code after it, which then  
falls outside the scope of the finally block.

   So, the scopes opened in $prestuff above should be closed *after* the  
finally block above.

   As to what would be the best way to achieve this, I don't know.



   I can take a shot at it, these are rather easy to write.



   YMMV. I don't think you can say it is universally the best way to do it.  
Pinning makes the work of the garbage collector more difficult, so e.g. in  
cases where the called native function makes calls back to the managed  
side via reverse p/invoke and those calls generate a lot of garbage, it  
might be better to use the default marshaling functionality (which copies  
the arrays).
   Another consideration is the size of the arrays passed.

   So, I think there need to be (at least) two sets of array typemaps to  
choose from: ones that fix the given array in memory and pass in a pointer  
to that, and another that uses the default p/invoke mechanism. Swig might  
default to one or the other, but allow the user to explicitly %apply  
either one.
   I can probably contribute both of these, given that using scopes becomes  
possible.



   Won't work, see above. The $post code needs to be inserted in the  
finally block, but the closing of scopes after it.

   But maybe a flag to indicate that the code in "pre" opens a scope that  
needs to be closed after the finally block has been closed? Then swig  
would just count how many params have this flag and insert corresponding  
number of closing braces after the finally block? It could be named e.g.  
"beginsscope", possible values being true/false. Or possibly it would take  
a number indicating how many scopes were opened, as one may want to begin  
several scopes in one "pre"?



        ::Antti::






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Antti Karanta</dc:creator>
    <dc:date>2008-08-19T11:15:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13311">
    <title>Re: array parameters and pinning in c#</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13311</link>
    <description>
We do need some good array typemaps and so far your attempts are the 
best I've noticed. The pre and post attributes weren't designed with 
adding scope in mind. However, it doesn't seem an unreasonable thing to 
do. The problem is the order of the pre and post code is the same, when 
arguably the post code could be in reverse order to the pre code. I'd 
certainly be willing to think about adding in a feature to support this 
type of scoping. It would also allow one to add a 'using' block in as 
well as a 'fixed' block. If you are willing to develop and contribute 
these array typemaps and you think this is the best approach (most 
efficient) for marshalling arrays, I'll think of a way to do this, 
something like a new flag to indicate the post code contains a closing 
brace.

William

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>William S Fulton</dc:creator>
    <dc:date>2008-08-18T22:30:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13310">
    <title>Re: illegal Cast to array type</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13310</link>
    <description>
I think this is one for the bug tracker as SWIG should generate code 
that will compile.

As a workaround use the following:

typedef unsigned char UCHAR;
typedef const UCHAR CONSTTEST[6];

extern int say_hello(char * str);
extern void test_func(CONSTTEST * arg1);

William

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>William S Fulton</dc:creator>
    <dc:date>2008-08-18T21:57:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13309">
    <title>Segmentation Faults with PHP bindings</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13309</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Christopher Schwardt</dc:creator>
    <dc:date>2008-08-18T10:41:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13308">
    <title>Can't find jni files when using packages</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13308</link>
    <description>I'm trying to figure out how to actually develop java library from c++ 
code.  I've put a couple of simple classes together and done the following:

        swig -c++ -package com.fay.test -outdir src/com/fay/test -java 
demo.i
        gcc -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/linux -c 
demo_wrap.cxx
        ld -G demo_wrap.o  -o libdemo.so

Which worked fine.  My interface looks like:
%module book

%{
#include "book.h"
%}

/* Let's just grab the original header file here */
%include "book.h"

%module document

%{
#include "document.h"
%}

Book has a reference to the  Document class.  When I attempt to compile 
the java files I get:

jim&lt; at &gt;chinaberry:~/c++/src/com/fay/test$ javac *.java
Document.java:31: cannot find symbol
symbol  : method delete_Document(long)
location: class com.fay.test.bookJNI
      bookJNI.delete_Document(swigCPtr);
             ^
Document.java:37: cannot find symbol
symbol  : method new_Document()
location: class com.fay.test.bookJNI
    this(bookJNI.new_Document(), true);
                ^
Document.java:41: cannot find symbol
symbol  : method Document_document_set(long,com.fay.test.Document,long)
location: class com.fay.test.bookJNI
    bookJNI.Document_document_set(swigCPtr, this, 
SWIGTYPE_p_string.getCPtr(value));
           ^
Document.java:45: cannot find symbol
symbol  : method Document_document_get(long,com.fay.test.Document)
location: class com.fay.test.bookJNI
    return new SWIGTYPE_p_string(bookJNI.Document_document_get(swigCPtr, 
this), true);

That's after I cd'ed to the source directory.  The same thing happens if 
I do:

javac src/com/fay/test/*.java

So how do I compile?

Environment: Ubunty 8.04, java package: sun-java6-jdk , 2.6.24-19 kernel,

Thanks,
Jim.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Jim</dc:creator>
    <dc:date>2008-08-17T15:44:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13307">
    <title>Re: C linked list to Python list/iterator</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13307</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Viktor Hornak</dc:creator>
    <dc:date>2008-08-17T13:55:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13306">
    <title>Re: C linked list to Python list/iterator</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13306</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Willi Richert</dc:creator>
    <dc:date>2008-08-16T11:05:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13305">
    <title>Re: boost shared_ptr incorrect deletion problem</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13305</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Naveen Khanna</dc:creator>
    <dc:date>2008-08-16T05:01:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13304">
    <title>C linked list to Python list/iterator</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13304</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Viktor Hornak</dc:creator>
    <dc:date>2008-08-15T22:21:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13303">
    <title>boost shared_ptr incorrect deletion problem</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13303</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Naveen Khanna</dc:creator>
    <dc:date>2008-08-15T21:32:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13302">
    <title>array parameters and pinning in c#</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13302</link>
    <description>                    Hi!

   Continuing my adventures w/ c# as the target language, I noticed that  
there were no typemaps for wrapping arrays (or did I just miss them?). No  
matter, should be easy enough to do.

   It seems p/invoke makes a copy of the array being passed, so I thought  
it would be more efficient to pin a pointer to the array and pass in that.  
So I did something like this:

%typemap(ctype)  int *INPUT_ARRAY, int &amp;IN_ARRAY "int*"
%typemap(imtype) int *INPUT_ARRAY, int &amp;IN_ARRAY "IntPtr"
%typemap(cstype) int *INPUT_ARRAY, int &amp;IN_ARRAY "int[]"
%typemap(csin,
                pre=
"  Debug.Assert( $csinput != null &amp;&amp; $csinput.Length &gt; 0 ) ;\n"
"  fixed ( int* csArrPtr$csinput = $csinput ) {\n",
                post="} // end fixed csArrPtr$csinput") int *INPUT_NARRAY,  
int &amp;IN_NARRAY "(IntPtr)csArrPtr$csinput"

%typemap(in)      int *INPUT_ARRAY, int &amp;INPUT_ARRAY "$1 = $input ;"
%typemap(freearg) int *INPUT_ARRAY, int &amp;INPUT_ARRAY ""
%typemap(argout)  int *INPUT_ARRAY, int &amp;INPUT_ARRAY ""


   There is a slight problem, though - post attribute of csin typemap  
doesn't seem to be the right place for closing the scope of the fixed  
statement. The stuff there gets inserted into the finally block after the  
imcall and obviously closes that block. In some cases it doesn't matter,  
in some it does.

   So, has anybody figured out how to pass pinned arrays in c# using swig?



       ::Antti::


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Antti Karanta</dc:creator>
    <dc:date>2008-08-15T06:22:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13301">
    <title>illegal Cast to array type</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13301</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Terence Kim</dc:creator>
    <dc:date>2008-08-14T18:42:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13300">
    <title>Re: handling comples macros</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13300</link>
    <description>

Hello Choonghwan,
I have never seen such strange macros before, but after checking with my compiler, I must agree they do work.
Now wrappering them:
I found that this works quite well.
=======================
%module demo;

%constant int MACRO1;
%constant int MACRO2;

%include "header.h"
======================

Note: you can use either %constant int or const int. Both work, but they register the variable in different ways.

If SWIG complains on redefinitions, try

=======================
%module demo;

%constant int MACRO1;
%constant int MACRO2;
%ignore MACRO1
%ignore MACRO2
%include "header.h"
======================

The ordering matters, you tell SWIG that MACRO1 is just an const integer (which it will believe), you dont need to give it a value. Then tell it to ignore all other information about it.
This I think is the best way.
Regards,
Mark

Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Mark Gossage</dc:creator>
    <dc:date>2008-08-14T00:41:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13299">
    <title>Re: 64-bit Segmentation Fault with Swig 1.3.36</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13299</link>
    <description>Thanks! That seems to work perfectly.

Now I just need to look into prototyping to find out *why* that works!
:)

** to
different
Swig
list
to
below)
result
tell
PyObject
SWIG_fail;
fail;
to
the
Python?
work
to
be
&amp;&amp;
and
the
segmentation
believe
size_t.
------------------------------------------------------------------------
great
the

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Brian Bird</dc:creator>
    <dc:date>2008-08-13T14:56:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13298">
    <title>Re: Error in generated python wrapper code for statictemplate member function</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13298</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Swig-user mailing list
Swig-user&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
</description>
    <dc:creator>Naveen Khanna</dc:creator>
    <dc:date>2008-08-13T14:27:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13297">
    <title>Re: 64-bit Segmentation Fault with Swig 1.3.36</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13297</link>
    <description>Try using this interface file--



/* file /tmp/example.i */

%module example

%{
extern char *test(char *, char *);

%}

extern char *test(char *, char *);


Best,
Matt


On Wed, Aug 13, 2008 at 9:13 AM, Brian Bird
&lt;Brian.Bird&lt; at &gt;securetrading.com&gt; wrote:

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Matthew O'Meara</dc:creator>
    <dc:date>2008-08-13T13:28:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.programming.swig/13296">
    <title>Re: 64-bit Segmentation Fault with Swig 1.3.36</title>
    <link>http://permalink.gmane.org/gmane.comp.programming.swig/13296</link>
    <description>

On Wed, 13 Aug 2008, Brian Bird wrote:



Clearly the compiler believes that test() returns an integer.  That might 
be because it is not prototyped.

Josh


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Josh Cherry</dc:creator>
    <dc:date>2008-08-13T13:26:17</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.programming.swig">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.programming.swig</link>
  </textinput>
</rdf:RDF>
