CCommand (opaque wrapper around Command for C)
This commit is contained in:
parent
d2369446ef
commit
956e5df812
6 changed files with 107 additions and 82 deletions
|
@ -9,7 +9,7 @@ int main(void) {
|
|||
sp_PixelGrid *pixels = sp_pixel_grid_new(sp_PIXEL_WIDTH, sp_PIXEL_HEIGHT);
|
||||
sp_pixel_grid_fill(pixels, true);
|
||||
|
||||
sp_Command *command = sp_command_bitmap_linear_win(0, 0, pixels, Uncompressed);
|
||||
sp_CCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, Uncompressed);
|
||||
sp_Packet *packet = sp_packet_from_command(command);
|
||||
if (!sp_connection_send(connection, packet))
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue