11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - 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.

}/*elseretval = 0;break;}}while (new_luid > (last_buf = new_buf)->last_item);scroll->cur_buff = last_buf;return (int)retval;NAME: mb_free_sc_bufs - Frees scrolling buffers starting with onepassed.SYNOPSIS:mb_free_sc_bufs (scroll_buffer)sc_buf_t *scroll_buffer;DESCRIPTION: Loops through on link freeing buffers. Caller isresponsible for valid arguments and setting pointers to the freedbuffer to NULL. Argument can be NULL.RETURNS: None.*/static void SMLOCALmb_free_sc_bufs(sc_buf)sc_buf_t *sc_buf;{char *ptr;while (sc_buf){ptr = (char *)sc_buf;sc_buf = sc_buf->link;sm_ffree(ptr);}}<strong>Upgrade</strong> <strong>Guide</strong> A-21

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

Saved successfully!

Ooh no, something went wrong!