aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LuaJIT/src/lj_str.h
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-08-20 08:44:27 -0400
committerClyne Sullivan <clyne@bitgloo.com>2022-08-20 08:44:27 -0400
commit0dc221b200b9d3df550e2d760cb396e4cb5f7176 (patch)
tree3524a0f494b1bec609cea0716cfb6f0ca515fd38 /lib/LuaJIT/src/lj_str.h
parent2364287a961fa9c860e1146bbcc3391ec5b1fd54 (diff)
submodule LuaJIT; build libs through Makefile
Diffstat (limited to 'lib/LuaJIT/src/lj_str.h')
-rw-r--r--lib/LuaJIT/src/lj_str.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/LuaJIT/src/lj_str.h b/lib/LuaJIT/src/lj_str.h
deleted file mode 100644
index 85c1e40..0000000
--- a/lib/LuaJIT/src/lj_str.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-** String handling.
-** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
-*/
-
-#ifndef _LJ_STR_H
-#define _LJ_STR_H
-
-#include <stdarg.h>
-
-#include "lj_obj.h"
-
-/* String helpers. */
-LJ_FUNC int32_t LJ_FASTCALL lj_str_cmp(GCstr *a, GCstr *b);
-LJ_FUNC const char *lj_str_find(const char *s, const char *f,
- MSize slen, MSize flen);
-LJ_FUNC int lj_str_haspattern(GCstr *s);
-
-/* String interning. */
-LJ_FUNC void lj_str_resize(lua_State *L, MSize newmask);
-LJ_FUNCA GCstr *lj_str_new(lua_State *L, const char *str, size_t len);
-LJ_FUNC void LJ_FASTCALL lj_str_free(global_State *g, GCstr *s);
-
-#define lj_str_newz(L, s) (lj_str_new(L, s, strlen(s)))
-#define lj_str_newlit(L, s) (lj_str_new(L, "" s, sizeof(s)-1))
-
-#endif