Concerning foo struct, as we discussed on IRC: -first, i'll try to see how fast i can modify Win32 source to use foo struct. If this is easy task, then i'll do this, and then we'll have to deal with foo struct for all platforms. And then i will make use of foo for getting pointers.