more CAMLnoreturn_end goodness

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Gabriel Scherer 2015-08-04 10:10:14 +00:00
parent ac62e93d6b
commit 57ddbfe12c
2 changed files with 12 additions and 3 deletions

View File

@ -74,7 +74,10 @@ extern int caml_gr_bits_per_pixel;
#endif
#endif
CAMLnoreturn_start extern void caml_gr_fail(char *fmt, char *arg);
CAMLnoreturn_start
extern void caml_gr_fail(char *fmt, char *arg)
CAMLnoreturn_end;
extern void caml_gr_check_open(void);
extern unsigned long caml_gr_pixel_rgb(int rgb);
extern int caml_gr_rgb_pixel(long unsigned int pixel);

View File

@ -26,8 +26,14 @@ extern "C" {
extern value unix_error_of_code (int errcode);
extern int code_of_unix_error (value error);
CAMLnoreturn_start extern void unix_error (int errcode, char * cmdname, value arg);
CAMLnoreturn_start extern void uerror (char * cmdname, value arg);
CAMLnoreturn_start
extern void unix_error (int errcode, char * cmdname, value arg)
CAMLnoreturn_end;
CAMLnoreturn_start
extern void uerror (char * cmdname, value arg)
CAMLnoreturn_end;
#define UNIX_BUFFER_SIZE 65536