Why SDL_malloc and SDL_free not in SDL 2.0 API?

Hi all

Why SDL_malloc and SDL_free not in SDL 2.0 API by Name page?

SDL 2.0 API by Name: http://wiki.libsdl.org/moin.cgi/CategoryAPI

Are these two functions supposed NOT to be used by SDL users?

Best regards
Unga

I wouldn’t trust much the wiki since it’s extremely outdated compared
to the current version. It really needs some maintenance. Check the
relevant header files to make sure.

Which reminds me: obviously the header files imply Doxygen is
supported, but I have no idea how to generate the Doxygen files.
Assuming Doxygen is installed, is there any special step to make the
docs or just running “make” should do it and I failed to look at the
correct place?

2013/2/8, Unga :> Hi all

Why SDL_malloc and SDL_free not in SDL 2.0 API by Name page?

SDL 2.0 API by Name: http://wiki.libsdl.org/moin.cgi/CategoryAPI

Are these two functions supposed NOT to be used by SDL users?

Best regards
Unga


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

From the toplevel directory I just ran

doxygen include/doxyfile

and the documentation was correctly generated.
VittorioOn Fri, Feb 8, 2013 at 4:06 PM, Sik the hedgehog <sik.the.hedgehog at gmail.com wrote:

I wouldn’t trust much the wiki since it’s extremely outdated compared
to the current version. It really needs some maintenance. Check the
relevant header files to make sure.

Which reminds me: obviously the header files imply Doxygen is
supported, but I have no idea how to generate the Doxygen files.
Assuming Doxygen is installed, is there any special step to make the
docs or just running “make” should do it and I failed to look at the
correct place?

2013/2/8, Unga :

Hi all

Why SDL_malloc and SDL_free not in SDL 2.0 API by Name page?

SDL 2.0 API by Name: http://wiki.libsdl.org/moin.cgi/CategoryAPI

Are these two functions supposed NOT to be used by SDL users?

Best regards
Unga


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Cc:

I wouldn’t trust much the wiki since it’s extremely outdated compared
to the current version. It really needs some maintenance. Check the
relevant header files to make sure.

Which reminds me: obviously the header files imply Doxygen is
supported, but I have no idea how to generate the Doxygen files.
Assuming Doxygen is installed, is there any special step to make the
docs or just running “make” should do it and I failed to look at the
correct place?

By looking at the definitions of SDL_malloc and SDL_free in SDL_stdinc.h, its just a simulation of Standard C Library malloc and free. It is obvious its perfectly alright for public use. I should have done bit more home work :slight_smile:

Unga

----- Original Message -----
From: Sik the hedgehog <sik.the.hedgehog at gmail.com>
To: Unga <@Unga>; SDL Development List
Sent: Friday, February 8, 2013 3:06 PM
Subject: Re: [SDL] Why SDL_malloc and SDL_free not in SDL 2.0 API?