libmp/include/util.h
2024-06-21 01:36:56 +03:00

13 lines
278 B
C

#pragma once
#include "types.h"
#include <libintl.h>
#include <stdbool.h>
#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);