Re: [AD] soft routines in draw.h

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sunday 03 April 2005 22:38, Jon Rafkind wrote:
> Does the user need to know about these functions in the sense that they 
> are exposed in a public .h file? Can these be moved to a private_draw.h 
> or something? I would appreciate this because I am writing interfaces to 
> Allegro for other languages and its highly convienent to simply copy and 
> paste functions from a .h file and transform them into the language I am 
> interfacing with rather than figure out which functions I actually need 
> from the .h file.

As a rule of thumb, I guess you can leave out functions and variables 
starting with an _, since they are internal.
To answer your question, Allegro itself needs these functions to be 
publicly available. Users should never call them.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/