Is there a way to store a struct imported from c in a field?

Ive tried working with sdl before and wanted to abstract away the c stuff a bit but it didnt let me store c structs in fields. Is there some workaround for this?

It should be possible to store c structs (aka extern struct) in fields.
Can you share more details about your code and the error message you get?

I will see if i can find the project and send it to you when it happens

Cant find it, I may just post it in this thread when I have time to