Re: Help with Phix structures

new topic     » goto parent     » topic index » view thread      » older message » newer message
struct GtkTreeIter  
"""  

typedef struct GtkTreeIter {   
  int stamp;   
  ptr user_data;   
  ptr user_data2;   
  ptr user_data3;   
};   
"""  

end struct  
 
procedure set_data(object data)  
GtkTreeIter gti = new() ? gti  --=> {"struct","GtkTreeIter",12,1101190672.0} 
end procedure 

Now, if I knew how to get the handle or pointer to the structure, I could pass that to the GTK function. (I assume that the gti structure has been allocated the necessary memory?)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu