- add implement job related objs based on librtti

- add lock()/unlock() to job object
This commit is contained in:
Rongsong Shen 2026-02-23 11:18:36 +08:00
parent f582742e77
commit 532c68e6e1
13 changed files with 1136 additions and 12 deletions

View file

@ -67,6 +67,10 @@
}
#endif
#define EQUAL_STRING(s1, s2) \
(((s1) == (s2)) \
|| (((s1) != NULL) && ((s2) != NULL) && (strcmp((s1), (s2)) == 0)))
#define N_EL_ARRAY(arr) (sizeof(arr) / sizeof(arr[0]))
#define PTR_STEP(p, delta) ((void*)(((char*)p) + (delta)))