mirror of
https://github.com/Elpisdev/unsegaREBORN.git
synced 2026-09-28 17:58:06 +03:00
13 lines
350 B
C
13 lines
350 B
C
#ifndef PROGRESS_H
|
|
#define PROGRESS_H
|
|
|
|
#include "lib.h"
|
|
|
|
typedef struct { uint64_t total; } Progress;
|
|
|
|
static inline void progress_init(Progress* p, uint64_t total) { p->total = total; }
|
|
static inline void progress_update(Progress* p, uint64_t current) { (void)p; (void)current; }
|
|
static inline void progress_finish(Progress* p) { (void)p; }
|
|
|
|
#endif
|