1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-11-17 01:30:08 +00:00

Re-added variadic packets

- minor refacotring
This commit is contained in:
2022-02-16 17:58:07 -06:00
parent c21be8dfee
commit 9a15ce1463
8 changed files with 520 additions and 40 deletions

View File

@@ -5,15 +5,15 @@
struct sLaika_taskService tService;
void debugTask(struct sLaika_taskService *service, struct sLaika_task *task, clock_t currTick, void *uData) {
/*void debugTask(struct sLaika_taskService *service, struct sLaika_task *task, clock_t currTick, void *uData) {
printf("hello !\n");
}
}*/
int main(int argv, char **argc) {
struct sLaika_cnc *cnc = laikaC_newCNC(13337);
laikaT_initTaskService(&tService);
laikaT_newTask(&tService, 2000, debugTask, NULL);
/*laikaT_newTask(&tService, 2000, debugTask, NULL);*/
while (true) {
laikaC_pollPeers(cnc, laikaT_timeTillTask(&tService));