diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2020-05-31 01:53:52 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2020-05-31 01:54:34 +0200 |
commit | aa3f1b67e79ccf0add44f627e5ae5801b635d85b (patch) | |
tree | ea3dc15585e8191b3e70150516719cd448161d69 /src/scripts | |
parent | ada29070a3f6e8d626cd054b904d0c22354e9bdf (diff) | |
download | efl-aa3f1b67e79ccf0add44f627e5ae5801b635d85b.tar.gz |
bindings/lua: minor fixes to accommodate cffi-lua
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/elua/core/util.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripts/elua/core/util.lua b/src/scripts/elua/core/util.lua index 2e176cbdd1..019a424e61 100644 --- a/src/scripts/elua/core/util.lua +++ b/src/scripts/elua/core/util.lua @@ -184,11 +184,12 @@ end ffi.cdef [[ typedef struct _Str_Buf { char *buf; - size_t len, cap; + size_t len; + size_t cap; } Str_Buf; void *malloc(size_t); - void free(void*); + void free(void *); size_t strlen(const char *str); int isalnum(int c); |