#8 polymorphic variant for C flags

closed
nobody
None
5
2002-06-06
2002-05-29
No

Sdl.init_flag and Sdlvideo.video_flag are now
polymorhic variants.

The C code is taken from LablGTK. The varcc utility of
LablGTK generates a .h and .c file containing a lookup
table for the conversion C flags <-> ML variant.

sdlinit_flag.c sdlinit_flag.h sdlvideo_flag.c
sdlvideo_flag.h are new files with theses (precomputed)
lookup tables. The code that does the actual lookup is
in common.c and common.h.

If you want to modify the variant types, you'll have to
re-run varcc (not included in the patch).

Discussion

  • Mazardo Luc

    Mazardo Luc - 2002-06-06
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks