From 7aa1e5dd3d80e2664eac7eb0a409829e9785a521 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 8 Jan 2025 10:54:40 +0100 Subject: WIP: Add a Lua PDF generator Because Lua compiled for C++ might be hard to find, provide a wrap. Only GitHub releases seem to contain onelua.c, which is a very handy file. WIP: Add documentation, actually get rid of the libqr copy. --- lpg/libqr.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lpg/libqr.c (limited to 'lpg/libqr.c') diff --git a/lpg/libqr.c b/lpg/libqr.c new file mode 100644 index 0000000..19f9788 --- /dev/null +++ b/lpg/libqr.c @@ -0,0 +1,14 @@ +// Easier to build this way +#include "libqr/bitmap.c" +#include "libqr/bitstream.c" +#undef MIN +#include "libqr/constants.c" +#include "libqr/code-common.c" +#include "libqr/code-create.c" +#include "libqr/code-layout.c" +#define get_px get_px_ +#include "libqr/code-parse.c" +#include "libqr/data-common.c" +#include "libqr/data-create.c" +#include "libqr/data-parse.c" +#include "libqr/galois.c" -- cgit v1.2.3-70-g09d2