summaryrefslogtreecommitdiffstats
path: root/spice.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 17:11:39 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-18 20:27:32 +0200
commit3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e (patch)
treedb8fbd3bf3c04216a9fc97011e8e00d3d0b21e03 /spice.proto
parent7fa29ea67e5202d4a3f6678445cef9bcad54aa79 (diff)
downloadspice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.tar.gz
spice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.tar.xz
spice-3c8cb83af5cbe85e6ab41ec1c0b41c5a29230d9e.zip
Make cursor data @as_ptr to avoid copying data
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/spice.proto b/spice.proto
index 093c8087..6750d2d7 100644
--- a/spice.proto
+++ b/spice.proto
@@ -867,7 +867,7 @@ struct CursorHeader {
struct Cursor {
cursor_flags flags;
CursorHeader header;
- uint8 data[] @end;
+ uint8 data[] @end @as_ptr(data_size);
};
channel CursorChannel : BaseChannel {