getPointer.lua 474 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get a raw pointer to the Blob\'s data.',
  3. description = [[
  4. Returns a raw pointer to the Blob's data. This can be used to interface with other C libraries
  5. using the LuaJIT FFI. Use this only if you know what you're doing!
  6. ]],
  7. arguments = {},
  8. returns = {
  9. pointer = {
  10. type = 'userdata',
  11. description = 'A pointer to the data.'
  12. }
  13. },
  14. variants = {
  15. {
  16. arguments = {},
  17. returns = { 'pointer' }
  18. }
  19. }
  20. }