mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Introduce mg_calloc
This commit is contained in:
1 parent
5f1f4a0df8
commit
074ef5197b
26 files changed
+259
-313
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ struct mg_timer {
|
||||
#define MG_TIMER_REPEAT 1 // Call function periodically
|
||||
#define MG_TIMER_RUN_NOW 2 // Call immediately when timer is set
|
||||
#define MG_TIMER_CALLED 4 // Timer function was called at least once
|
||||
#define MG_TIMER_AUTODELETE 8 // free() timer when done
|
||||
#define MG_TIMER_AUTODELETE 8 // mg_free() timer when done
|
||||
void (*fn)(void *); // Function to call
|
||||
void *arg; // Function argument
|
||||
struct mg_timer *next; // Linkage
|
||||
|
||||
Reference in new issue
Block a user