Respond to load commands when an id is present

This commit is contained in:
Kovid Goyal
2017-09-27 18:27:36 +05:30
parent 9601ed79f1
commit 9860ed544f
4 changed files with 56 additions and 49 deletions

View File

@@ -50,4 +50,4 @@ PyTypeObject GraphicsManager_Type;
GraphicsManager* grman_realloc(GraphicsManager *, index_type lines, index_type columns);
void grman_clear(GraphicsManager*);
GraphicsManager* grman_free(GraphicsManager*);
void grman_handle_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_t *payload);
const char* grman_handle_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_t *payload);