libmp/include/util.h

13 lines
278 B
C
Raw Normal View History

2024-06-20 00:34:32 +00:00
#pragma once
#include "types.h"
2024-06-20 22:36:56 +00:00
#include <libintl.h>
#include <stdbool.h>
2024-06-20 00:34:32 +00:00
#define _(x) gettext(x)
void pdebug(lm_ctx_t *ctx, const char *func, const char *fmt, ...);
bool contains(char *str, char s);
bool eq(char *s1, char *s2);
bool is_letter(char c);
bool is_digit(char c);