Extensions to types loaded from a C library

Jacob Carlborg doob at me.com
Fri Dec 14 04:54:04 PST 2012


On 2012-12-14 10:30, Jeremy DeHaan wrote:
> I was playing with some code in the Derelict project(mainly the SFML
> portion) and was wondering what would happen if I made some changes.

As long as the size of the struct doesn't change it's ok. Preferably you 
shouldn't change the type or ordering of the fields either.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list