X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fsetjmp.h;h=8afef149e0a373e84b1eac0814491db2549fde2b;hp=dda36ea156ce6cee62b35f6a0f634825400c3e58;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=ac3f809c3c10347c110fac3db93af0954eda98bb diff --git a/includes/setjmp.h b/includes/setjmp.h index dda36ea..8afef14 100644 --- a/includes/setjmp.h +++ b/includes/setjmp.h @@ -1,27 +1,28 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// Nonlocal jumps -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * ---------------------------------------------------------------------------- + * Nonlocal jumps + * --------------------------------------------------------------------------*/ -#ifndef __SETJMP_H -#define __SETJMP_H __SETJMP_H +#ifndef _SETJMP_H +#define _SETJMP_H _SETJMP_H -// ---------------------------------------------------------------------------- -// TYPEDEFS +/* TODO: Documentation */ -struct jmp_buf[1]; +/* ---------------------------------------------------------------------------- + * TYPEDEFS + * --------------------------------------------------------------------------*/ -// ---------------------------------------------------------------------------- -// FUNCTIONS +struct jmp_buf[1]; /* TODO */ -// TODO -int setjmp(jmp_buf env); +/* ---------------------------------------------------------------------------- + * FUNCTIONS + * --------------------------------------------------------------------------*/ -// TODO -void longjmp(jmp_buf env, int val); +int setjmp( jmp_buf env ); +void longjmp( jmp_buf env, int val ); -#endif // __SETJMP_H +#endif /* _SETJMP_H */