prefix enum names for better C consumption

This commit is contained in:
Vinzenz Schroeter 2024-10-13 17:36:32 +02:00
parent be17319993
commit 68d809c714
3 changed files with 9 additions and 6 deletions

View file

@ -9,7 +9,7 @@ int main(void) {
SPPixelGrid *pixels = sp_pixel_grid_new(SP_PIXEL_WIDTH, SP_PIXEL_HEIGHT);
sp_pixel_grid_fill(pixels, true);
SPCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, Uncompressed);
SPCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, SP_COMPRESSION_CODE_UNCOMPRESSED);
while (sp_connection_send_command(connection, sp_command_clone(command)));
sp_command_free(command);