Naev

Module data

Lua bindings to interact with datas.

Functions

__gc (data) Frees a data.
__eq (d1, d2) Compares two datas to see if they are the same.
new (size, type) Opens a new data.
get () Gets the value of an element.
get () Sets the value of an element.
getSize ()
getString ()
paste ()
addWeighted ()
convolve2d ()


Functions

__gc (data)
Frees a data.

Parameters:

  • data Data Data to free.
__eq (d1, d2)
Compares two datas to see if they are the same.

Parameters:

  • d1 Data Data 1 to compare.
  • d2 Data Data 2 to compare.

Returns:

    boolean true if both datas are the same.
new (size, type)
Opens a new data.

Parameters:

  • size number Size to allocate for data.
  • type string Type of the data to create ("number")

Returns:

    Data New data object.
get ()
Gets the value of an element.
get ()
Sets the value of an element.
getSize ()
getString ()
paste ()
addWeighted ()
convolve2d ()
generated by LDoc 1.4.6 Last updated 2021-04-18 17:10:51