summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-11 00:16:20 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-12 11:34:40 +0100
commitb5f7dd0c08dbe3f140630345c331aeccaf2a7a94 (patch)
tree6fd1eb8fc054acd9d17d698df02f0fc51302827c
parent8dbb3011a11ff3b6e8ebcf19e64ed4fbef17356b (diff)
python: Add unsigned arrays.
-rw-r--r--src/gallium/state_trackers/python/gallium.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/gallium.i b/src/gallium/state_trackers/python/gallium.i
index 8f731ca905..9d9a50b520 100644
--- a/src/gallium/state_trackers/python/gallium.i
+++ b/src/gallium/state_trackers/python/gallium.i
@@ -58,6 +58,7 @@
%include "carrays.i"
%array_class(unsigned char, ByteArray);
%array_class(int, IntArray);
+%array_class(unsigned, UnsignedArray);
%array_class(float, FloatArray);
@@ -606,4 +607,4 @@ error1:
void dump(unsigned flags = 0) {
tgsi_dump($self->tokens, flags);
}
-} \ No newline at end of file
+}