GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Kriptel/hl-LuaJIT

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
source/luajit
source/luajit
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
haxelib.json
haxelib.json
 
 
include.xml
include.xml
 
 

Repository files navigation

hl-LuaJIT

This library is based on linc_luajit.

TODO

  • Table access

Licenses

  • hl-LuaJIT
  • LuaJIT

Example

See Main.hx

package;

import luajit.LuaJIT;

function main() {
	LuaJIT.init();

	var state = LuaL.newState();
	LuaL.openLibs(state);

	LuaJIT.addCallback(state, 'haxeFunction', function(a:Int, b:String, c:Bool) {
		trace(a, b, c);
	});

	LuaL.doString(state, '
	local a = 0
	print(a)

	haxeFunction(1,"hello world",true)

	function luaFunction(a,b,c)
		print(a,b,c)

		return 123;
	end
	');

	Lua.getGlobal(state, "luaFunction");

	trace(Lua.dynCall(state, [12, 35, 'hello world'], 1)); // 123
}

About

No description or website provided.

Topics

hashlinkhaxehaxeliblualuajitscript

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.