statically add paper c library to lua interpreter
This commit is contained in:
parent
ad99018809
commit
11bbd60872
2 changed files with 18 additions and 17 deletions
6
assets/epaper.lua
Normal file
6
assets/epaper.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
local paper = require('paper')
|
||||
paper.init()
|
||||
print(
|
||||
'width: ' .. paper.get_width(),
|
||||
'height: ' .. paper.get_height()
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue