mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-29 13:14:48 -04:00
Improve code readability: refactor animation code and translate comments
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
parent
09ea9d3b06
commit
73995e5828
5 changed files with 128 additions and 114 deletions
|
|
@ -4,6 +4,8 @@
|
|||
void die(const char *fmt, ...);
|
||||
void *ecalloc(size_t nmemb, size_t size);
|
||||
int32_t fd_set_nonblock(int32_t fd);
|
||||
/* Match string against regex pattern. Both pattern and string are multi-byte
|
||||
* (mb) UTF-8 encoded. */
|
||||
int32_t regex_match(const char *pattern_mb, const char *str_mb);
|
||||
void wl_list_append(struct wl_list *list, struct wl_list *object);
|
||||
uint32_t get_now_in_ms(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue