summaryrefslogtreecommitdiff
path: root/include/gras/io_signature.i
diff options
context:
space:
mode:
authorJosh Blum2012-11-24 14:26:13 -0800
committerJosh Blum2012-11-24 14:26:13 -0800
commit08d5b3833e7ad932a21e6b37ee7e97480dca9818 (patch)
tree888a691ba323492be870c767aac36a6fe9572ffb /include/gras/io_signature.i
parent4406afc013c7a2d8e3deebc76618564de01d8849 (diff)
downloadsandhi-08d5b3833e7ad932a21e6b37ee7e97480dca9818.tar.gz
sandhi-08d5b3833e7ad932a21e6b37ee7e97480dca9818.tar.bz2
sandhi-08d5b3833e7ad932a21e6b37ee7e97480dca9818.zip
change the type to unsigned to make swig happy
this is a little evil, changing a public header for swig but it works just as well and we can save this for another day
Diffstat (limited to 'include/gras/io_signature.i')
-rw-r--r--include/gras/io_signature.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gras/io_signature.i b/include/gras/io_signature.i
index b67a5ed..be9a3fd 100644
--- a/include/gras/io_signature.i
+++ b/include/gras/io_signature.i
@@ -12,13 +12,13 @@
%ignore gras::IOSignature::operator[]; //ignore warnings about %extend
%include <std_vector.i>
-%template (std_vector_gras_io_signature_size_t) std::vector<size_t>;
+%template (std_vector_gras_io_signature_unsigned) std::vector<unsigned>;
%include <gras/io_signature.hpp>
%extend gras::IOSignature
{
- const size_t &__getitem__(const size_t index)
+ const unsigned &__getitem__(const unsigned index)
{
return ($self)->at(index);
}