File: README.md

package info (click to toggle)
lua-torch-cwrap 0~20160222-gdbd0a62-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 140 kB
  • sloc: makefile: 8; sh: 4
file content (17 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# CWrap package #

The __cwrap__ package helps you to automate the generation of Lua/C wrappers
around existing C functions, such that these functions would be callable
from Lua. This package is used by the __torch__ package, but does not depend on
anything, and could be used by anyone using Lua. 
The documentation is organized as follows :

  * [Example Use Case](doc/example.md)
  * [High Level Interface](doc/highlevelinterface.md)
  * [Argument Types](doc/argumenttypes.md)
  * [User Types](doc/usertypes.md)

__DISCLAIMER__ Before going any further, we assume the reader has a good
knowledge of how to interface C functions with Lua. A good start would be
the [Lua reference manual](http://www.lua.org/manual/5.1), or the book
[Programming in Lua](http://www.inf.puc-rio.br/~roberto/pil2).