12.07.2015 Views

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

JYACC FORMAKER C Programmer's Guide Contents 1 ... - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

corner = sm_cform->form.bord_char ? 1 : 0;}if (flag == 0){buf[0] = 0;sm_do_region (corner, corner, SWIDTH, WHITE, buf);}else{sprintf (buf, "%c%.3d", flag, count);sm_do_region (corner, corner, SWIDTH, REVERSE | WHITE, buf);}/* Finally, here is code to initialize the necessary hooks. */static struct fnc_data playf = {"play", play, C_FUNC, 0, 0, 0};static struct fnc_data recordf = {"record", record, C_FUNC, 0, 0, 0};static struct fnc_data availf = {"avail", avail, C_FUNC, 0, 0, 0};static struct fnc_data changef = {"playchange", playchange, C_FUNC, 0, 0, 0};sm_install (PLAY_FUNC, &playf, (int *)0);sm_install (RECORD_FUNC, &recordf, (int *)0);sm_install (AVAIL_FUNC, &availf, (int *)0);sm_install (KEYCHG_FUNC, &changef, (int *)0);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!