30 Sep 18:59
How to change io::f_seek to use 64 bit numbers
From: Todor Totev <umbra.tenebris <at> list.ru>
Subject: How to change io::f_seek to use 64 bit numbers
Newsgroups: gmane.comp.lang.lua.general
Date: 2008-09-30 17:00:15 GMT
Subject: How to change io::f_seek to use 64 bit numbers
Newsgroups: gmane.comp.lang.lua.general
Date: 2008-09-30 17:00:15 GMT
Hi all, I'd like to use (platform specific) fseek with 64-bit file offsets inside io lib f_seek function. But it gets the lua number with luaL_optlong which truncates it to long. What do you suggest me to fix it? Kind regards, Todor
RSS Feed