Make cursor data @as_ptr to avoid copying data

This commit is contained in:
Alexander Larsson 2010-06-18 17:11:39 +02:00 committed by Marc-André Lureau
parent 41c07b938b
commit 98d3b1d5c3

View File

@ -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 {