Lua 5.4 tests
This commit is contained in:
parent
7975b92532
commit
e4bf16bd57
4
Makefile
4
Makefile
|
@ -1,5 +1,5 @@
|
|||
CFLAGS += `pkg-config --cflags cairo xcb lua53`
|
||||
LDFLAGS := `pkg-config --libs cairo xcb lua53`
|
||||
CFLAGS += `pkg-config --cflags cairo xcb lua54`
|
||||
LDFLAGS := `pkg-config --libs cairo xcb lua54`
|
||||
OBJECTS := obj/common.o obj/rootwindow.o obj/cairo_context.o obj/api_draw.o
|
||||
|
||||
livewp: lib
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "common.h"
|
||||
#include "api_draw.h"
|
||||
#include <cairo/cairo.h>
|
||||
#include <lua5.3/lua.h>
|
||||
#include <lua5.3/lauxlib.h>
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
#include <math.h>
|
||||
|
||||
int api_draw_clear(lua_State *L);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _API_DRAW_H_
|
||||
#define _API_DRAW_H_
|
||||
|
||||
#include <lua5.3/lua.h>
|
||||
#include <lua.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
bool loadapi_draw(lua_State *lua);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _COMMON_H_
|
||||
#define _COMMON_H_
|
||||
|
||||
#include <lua5.3/lua.h>
|
||||
#include <lua.h>
|
||||
#include "cairo_context.h"
|
||||
|
||||
extern struct global_context {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <lua5.3/lua.h>
|
||||
#include <lua5.3/luaconf.h>
|
||||
#include <lua5.3/lualib.h>
|
||||
#include <lua5.3/lauxlib.h>
|
||||
#include <lua.h>
|
||||
#include <luaconf.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
|
|
Loading…
Reference in New Issue