Changeset 5603:0577a2d5a9a6 in roaraudio for plugins/universal/tic-tac-toe.c
- Timestamp:
- 07/30/12 17:32:22 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/universal/tic-tac-toe.c
r5579 r5603 89 89 }; 90 90 91 static inline int __movein(struct roar_buffer ** buf, struct roar_buffer ** next) {92 if ( *buf == NULL ) {93 *buf = *next;94 *next = NULL;95 return 0;96 } else {97 return roar_buffer_moveinto(*buf, next);98 }99 }100 101 91 static void new_game(game_state * state) { 102 92 memset(state, _FREE, sizeof(game_state)); … … 237 227 } 238 228 239 _ _movein(obuffer, &buf);229 _LIBROAR_IGNORE_RET(roar_buffer_moveintoqueue(obuffer, &buf)); 240 230 } 241 231 … … 260 250 } 261 251 262 _ _movein(obuffer, &buf);252 _LIBROAR_IGNORE_RET(roar_buffer_moveintoqueue(obuffer, &buf)); 263 253 } 264 254
Note: See TracChangeset
for help on using the changeset viewer.