I would like to know if is it reasonable to keep labels for the following
val drive_name : drive:int -> string;;
val cd_play_track : cdrom_drive:cdrom_drive -> n:int -> unit;;
(*d Play the track n on the given cdrom_drive *)
val cd_track_num : cdrom_drive:cdrom_drive -> n:int -> cdrom_track;;
(*d Return the Nth track *)
The following would include labels:
val set_display_mode : int -> int -> int -> surface;;
val video_mode_ok : int -> int -> int -> video_flag list -> bool
val surface_fill_rect : surface -> rect -> color -> surface;;
val surface_blit : surface -> rect -> surface -> rect -> unit;;
val open_audio : int -> format -> channels -> unit
val fadein_channel : channel option -> chunk -> int option -> float option
-> float option -> channel
val fadein_music : music -> int option -> float option -> channel
In the video module perhaps, we could use predefined list for video flag ?
I've added the strange constructors C() and E() but probably not very clean..
What do you think about this ?
Get latest updates about Open Source Projects, Conferences and News.