On Wednesday, May 14, 2014 8:05:20 PM UTC-4, Steven G. Johnson wrote:
>
>
>
> On Wednesday, May 14, 2014 7:57:49 PM UTC-4, Samuel Colvin wrote:
>
>> function get_key(key_::Ptr{Int32}, key_length_::Ptr{Cint})
>>     key_length = unsafe_load(key_length_)
>>     UTF32String(pointer_to_array(key_, int64(key_length), false))
>>
>
By the way, this should be int, not int64, to work on 32-bit machines.   
(Probably pointer_to_array should do the cast for you.)

Reply via email to