prototype for integration with 32bit libraries on 64bit architectures through ffi