RW_ops belong to private or public SDL' s interface?

Hi,

The RWops is a useful feature of SDL, but it’s not mentionned into the doc. Does it means it is a private part of SDL so that we can’t expect it to present on future version of SDL ? Can we consider it as a part of the public interface ? I plan to use them in my game but don’t want to have to change the code when future versions of SDL will be realesed.

Since they are used into SDL_image, I think it’s public but I would like a confirmation.

Thanks

Julien

Hi,

The RWops is a useful feature of SDL, but it’s not mentionned into the doc. Does it means it is a private part of SDL so that we can’t expect it to present on future version of SDL ? Can we consider it as a part of the public interface ? I plan to use them in my game but don’t want to have to change the code when future versions of SDL will be realesed.

Since they are used into SDL_image, I think it’s public but I would like a confirmation.

They are part of the public interface.
Everything that is in the include directory is public and should be stable.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

They are part of the public interface.
Everything that is in the include directory is public and should be
stable.

Great, thanks !

Julien

Does anyone know when/if we might see some documentation on RWops? I was
interested in them once I noticed thier use in SDL_image, aswell, but passed
it off when I realized that there wern’t any docs. Nothin’ fancy really,
just maybe an API spec or something (“this is how you open a new RWops given
a file name/pointer to data/etc.”).

  • Silicon> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Wednesday, October 29, 2003 8:11 AM
Subject: Re: [SDL] RW_ops belong to private or public SDL’ s interface ?

Hi,

The RWops is a useful feature of SDL, but it’s not mentionned into the
doc. Does it means it is a private part of SDL so that we can’t expect it to
present on future version of SDL ? Can we consider it as a part of the
public interface ? I plan to use them in my game but don’t want to have to
change the code when future versions of SDL will be realesed.

Since they are used into SDL_image, I think it’s public but I would like
a confirmation.

They are part of the public interface.
Everything that is in the include directory is public and should be
stable.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003

Somewhere I found this before:
http://www.kekkai.org/roger/sdl/rwops/rwops.html
but I cannot remember where…On Wed, 2003-10-29 at 15:20, John Silicon wrote:

Does anyone know when/if we might see some documentation on RWops? I was
interested in them once I noticed thier use in SDL_image, aswell, but passed
it off when I realized that there wern’t any docs. Nothin’ fancy really,
just maybe an API spec or something (“this is how you open a new RWops given
a file name/pointer to data/etc.”).

  • Silicon

----- Original Message -----
From: “Sam Lantinga”
To:
Sent: Wednesday, October 29, 2003 8:11 AM
Subject: Re: [SDL] RW_ops belong to private or public SDL’ s interface ?

Hi,

The RWops is a useful feature of SDL, but it’s not mentionned into the
doc. Does it means it is a private part of SDL so that we can’t expect it to
present on future version of SDL ? Can we consider it as a part of the
public interface ? I plan to use them in my game but don’t want to have to
change the code when future versions of SDL will be realesed.

Since they are used into SDL_image, I think it’s public but I would like
a confirmation.

They are part of the public interface.
Everything that is in the include directory is public and should be
stable.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Somewhere I found this before:
http://www.kekkai.org/roger/sdl/rwops/rwops.html
but I cannot remember where…

I used also this page to learn how to use them.

Julien