Re: Help with Phix structures

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

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?)

Oh yeah, it is fairly well hidden in the docs, you'll need a struct_mem(gti) for passing to c_func etc.
(Now you know what it's called, the doc index will take you to builtins\structs.e, but c-struct (Corelang/declarations/structs&classes/struct/c-struct) is better reading, as little as it is.)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu