Sound2Light auf RGB(W)-LED-Leisten
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lua_utils.h 680B

1234567891011121314151617181920
  1. /*
  2. * vim: sw=2 ts=2 expandtab
  3. *
  4. * THE PIZZA-WARE LICENSE" (derived from "THE BEER-WARE LICENCE"):
  5. * <cfr34k@tkolb.de> wrote this file. As long as you retain this notice you can
  6. * do whatever you want with this stuff. If we meet some day, and you think
  7. * this stuff is worth it, you can buy me a pizza in return. - Thomas Kolb
  8. */
  9. #ifndef LUA_UTILS_H
  10. #define LUA_UTILS_H
  11. #include "config.h"
  12. void lua_showerror(lua_State *L, const char *msg);
  13. void lua_pushdoublearray(lua_State *L, double *numbers, size_t len);
  14. void lua_pushsamplearray(lua_State *L, sample *numbers, size_t len);
  15. void lua_readdoublearray(lua_State *L, double *numbers, size_t len);
  16. #endif // LUA_UTILS_H