4.1 release

new topic     » topic index » view thread      » older message » newer message


i am writing some wrappers for libVLC + SDL

so, built 4.1 from the source code repository
so that i could test memstructs

include std/machine.e 
 
memstruct point 
   int x 
   int y 
   float angle 
end memstruct 
 
procedure pass_by_ref(atom m) 
   ? m.point 
   m.point = { 30, 40, 34.5 } 
end procedure 
 
? sizeof(point) 
atom o = allocate(sizeof(point),1) 
 
o.point = {0} 
? o 
? o.point 
o.point = { 10, 20 } 
? o.point 
 
pass_by_ref(o) 
 
? o.point 


looking good!

any timescales for 4.1 release ?

is memstruct API liable to any major changes
from this point forward ?

tia

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu