[00:15] <CajunTechie> Hello everyone. Does anyone know of any tutorals for access things like notifications in languages other than the ones officiall supported and documented?
[20:09] <IDWMaster> Hi
[20:10] <IDWMaster> I have a function in a vtable called GetLength
[20:10] <IDWMaster> It's a virtual function which gets the length of a file
[20:11] <IDWMaster> When I'm within the scope of the function; everything works properly, but when I return the length of the file, the caller is always receiving 0
[20:11] <IDWMaster> I'm wondering why this is happening, and what I could be doing wrong.
[20:11] <IDWMaster> struct stat statbuff;
[20:11] <IDWMaster> 			statbuff.st_size = 50;
[20:11] <IDWMaster> 			stat(fname,&statbuff);
[20:11] <IDWMaster> 			inst->GetConsole()->WriteLine((double)statbuff.st_size);
[20:11] <IDWMaster> 			return statbuff.st_size;
[20:11] <IDWMaster> Printed value is correct
[20:11] <IDWMaster> return value is always 0
[20:12] <IDWMaster> Also; gdb can't properly debug it
[20:12] <IDWMaster> Meaning I set a breakpoint and the breakpoint is never hit but the code still gets executed
[20:14] <IDWMaster> Any ideas?
[20:14] <IDWMaster> I'm passing the return value through an ABI boundary by the way
[20:15] <IDWMaster> Not sure if that has anything to do with it or not
[20:18] <IDWMaster> Is this the right channel for these kinds of questions?