Re: C array pointers

new topic     » goto parent     » topic index » view thread      » older message » newer message
begin said...

what do i do wrong??

what happens if you just do this (on 64 bit [and on 32 bit])?

public procedure drawpoly(sequence polypointegers) 
  integer plen = length(polypointegers) 
  atom poly = allocate(4*plen, true)  
  poke4(poly, polypointegers) 
  c_proc(_drawpoly,{plen, poly})  
end procedure 

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu