[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wxruby-dev] a quick swig
From: |
repeater |
Subject: |
[Wxruby-dev] a quick swig |
Date: |
Tue, 25 Feb 2003 00:10:37 +0200 |
hmm could any resident swig wizard give me a clue:
#my_typemaps.i
%typemap(python,build) int LCOUNT {
if (_in_choices) {
$target = PyList_Size(_in_choices);
}
else {
$target = 0;
}
}
what does this "build" kind of typemap (no where mentioned in swigdocs) mean
? (and why can't i get it to work)
i do know this is part of multi-argument typemapping, to eliminate redundant
specification of a list's size, and i know how to do it with swig, but the
above would make the current code more simple.
oh well, i've implemented a seemingly redundant collection of typemaps to
mimic this effect (there are quite a few types). so much for pretty code...
regards
Peter
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wxruby-dev] a quick swig,
repeater <=