sw-battle-test-c

Interesting test task in C instead of C++
git clone git://bsandro.tech/sw-battle-test-c
Log | Files | Refs | README

system.h (158B)


      1 #pragma once
      2 
      3 #include <stdbool.h>
      4 
      5 struct World; // fwd
      6 
      7 typedef bool (System_Run)(struct World *w);
      8 
      9 typedef struct System {
     10     System_Run *run;
     11 } System;