ffi: Implement ffivar.get()/set() methods.

Done by introducing another factored out helper API in binary.c. This API
can be reused also by array and struct modules.
This commit is contained in:
Paul Sokolovsky
2014-02-14 17:16:35 +02:00
parent 70d7a83c74
commit 8bc3516389
7 changed files with 130 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ print()
perror("ffi before error")
open("somethingnonexistent__", 0)
print(errno)
print(errno.get())
perror("ffi after error")
print()