| 114 | } |
| 115 | |
| 116 | static PGSSubObject * find_object(int id, PGSSubObjects *objects) |
| 117 | { |
| 118 | int i; |
| 119 | |
| 120 | for (i = 0; i < objects->count; i++) { |
| 121 | if (objects->object[i].id == id) |
| 122 | return &objects->object[i]; |
| 123 | } |
| 124 | return NULL; |
| 125 | } |
| 126 | |
| 127 | static PGSSubPalette * find_palette(int id, PGSSubPalettes *palettes) |
| 128 | { |
no outgoing calls
no test coverage detected