Skip to content
forked from cloudwu/lua-int64

A int64 lib for lua with lightuserdata in 64bit architecture

License

Notifications You must be signed in to change notification settings

luhan/lua-int64

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A int64 library for lua

In 64 bit architecture , we can use lightuserdata type for 64bit number operation. It's a simple way to support int64 in lua.

This library only offer one api : create a int64 number , see test.lua .

It can create a int64 number from lua number or a string (A little-endian 8 bytes string) . you can also push a lightuserdata as a int64 number from C library.

About

A int64 lib for lua with lightuserdata in 64bit architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.9%
  • Lua 5.8%
  • Makefile 1.3%