Changeset 0170798 in buchla-68k for ram


Ignore:
Timestamp:
07/11/2017 05:46:49 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
4d04f41
Parents:
7af8be4
Message:

Added last missing function pointer prototypes.

Location:
ram
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ram/swinit.c

    r7af8be4 r0170798  
    3535void    (*premove)(void);       /* cursor pre-move function */
    3636void    (*pstmove)(void);       /* cursor post-move function */
    37 void    (*vt_adv)(void);        /* vtyper data cursor advance function */
    38 void    (*vt_bsp)(void);        /* vtyper data cursor backspace function */
    39 void    (*vt_cdn)(void);        /* vtyper data cursor down function */
    40 void    (*vt_cup)(void);        /* vtyper data cursor up function */
    41 void    (*vt_dsp)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
    42                                 /* vtyper display function */
    43 void    (*vt_stop)(void);       /* vtyper exit function */
     37vtcurs  vt_adv;                 /* vtyper data cursor advance function */
     38vtcurs  vt_bsp;                 /* vtyper data cursor backspace function */
     39vtcurs  vt_cdn;                 /* vtyper data cursor down function */
     40vtcurs  vt_cup;                 /* vtyper data cursor up function */
     41vtchar  vt_dsp;                 /* vtyper display function */
     42vtcurs  vt_stop;                /* vtyper exit function */
    4443void    (*x_key)(void);         /* X key processor */
    4544void    (*xy_dn)(void);         /* cursor - finger on (down) */
  • ram/vtyper.c

    r7af8be4 r0170798  
    4141*/
    4242
    43 void vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg)
     43void vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg)
    4444{
    4545        vtobj   = obj;          /* setup object pointer */
  • ram/vtyper.x

    r7af8be4 r0170798  
    88
    99#include "stdint.h"
     10
     11typedef void            (*vtchar)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
     12typedef void            (*vtcurs)(void);
    1013
    1114/*
     
    2831extern  void            vtcyupd(void);
    2932extern  void            vtdisp(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
    30 extern  void            vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg);
     33extern  void            vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg);
    3134extern  int16_t         vtyper(void);
Note: See TracChangeset for help on using the changeset viewer.