home *** CD-ROM | disk | FTP | other *** search
- /*{{{}}}*/
- /*{{{ includes*/
- #include <stdio.h>
- #include <stdlib.h>
-
- #include <h/keys.h>
- #include <h/token.h>
- #include <h/rcformat.h>
- #include <lib/ori_rc_lib.h>
- /*}}} */
-
- /*{{{ rc_put_w*/
- void rc_put_w(int w,FILE *f)
- { int neg;
-
- if (w<0)
- { neg=0x80;w = -w; }
- else
- { neg=0; }
- if (w & ~0x7fff)
- { fputs("CRASH - OCL-number overflow!\n",stderr);
- exit(1);
- }
- rc_put_c(neg|(w>>8),f);
- rc_put_c(w,f);
- }
- /*}}} */
-