summaryrefslogtreecommitdiffstats
path: root/spice1.proto
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-30 22:19:12 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:46 +0100
commit6228ae633e58f484f0da5cc20dcfbf42ead4859b (patch)
treed640e227be1e83be7ce3538ed3b3ea640940fb1a /spice1.proto
parent8ec1247dbe40ca7d0678e95c45f0d3a7b8908b77 (diff)
downloadspice-protocol-6228ae633e58f484f0da5cc20dcfbf42ead4859b.tar.gz
spice-protocol-6228ae633e58f484f0da5cc20dcfbf42ead4859b.tar.xz
spice-protocol-6228ae633e58f484f0da5cc20dcfbf42ead4859b.zip
Properly parse and marshall SpiceString
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/spice1.proto b/spice1.proto
index c9a18d9..982f666 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -522,12 +522,12 @@ struct String {
string_flags flags; /* Special: Only one of a1/a4/a8 set */
switch (flags) {
case RASTER_A1:
- RasterGlyphA1 glyphs[length] @ctype(SpiceRasterGlyph);
+ RasterGlyphA1 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array;
case RASTER_A4:
- RasterGlyphA4 glyphs[length] @ctype(SpiceRasterGlyph);
+ RasterGlyphA4 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array;
case RASTER_A8:
- RasterGlyphA8 glyphs[length] @ctype(SpiceRasterGlyph);
- } u @end @nomarshal;
+ RasterGlyphA8 glyphs[length] @ctype(SpiceRasterGlyph) @ptr_array;
+ } u @anon;
};
channel DisplayChannel : BaseChannel {