Changeset d2d593b in buchla-68k


Ignore:
Timestamp:
07/09/2017 09:14:31 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
e225e77
Parents:
d10dbee
Message:

Added more functions to header files.

Location:
include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • include/ctype.h

    rd10dbee rd2d593b  
    102102#endif  /* SYS5CODE */
    103103
     104extern  int16_t tolower(int16_t c);
     105extern  int16_t toupper(int16_t c);
     106
    104107#endif  /* _CTYPE_C */
    105108
  • include/stdio.h

    rd10dbee rd2d593b  
    4747extern  FILE    *fopena(int8_t *name, int8_t *mode);
    4848extern  FILE    *fopenb(int8_t *name, int8_t *mode);
     49extern  int16_t fread(int8_t *buffer, uint16_t size, int16_t number, FILE *stream);
     50extern  int16_t fwrite(int8_t *buffer, int16_t size, int16_t number, FILE *stream);
     51extern  int16_t fseek(FILE *fp, int32_t pos, int16_t mode);
     52extern  int16_t fflush(FILE *ptr);
     53extern  int16_t fclose(FILE *ptr);
     54
     55extern  int32_t printf(int8_t *fmt, ...);
     56extern  int32_t sprintf(int8_t *str, int8_t *fmt, ...);
     57
     58extern  int16_t getc(FILE *ptr);
     59extern  int16_t putc(int16_t c, FILE *ptr);
     60extern  int16_t ungetc(int16_t c, FILE *ptr);
    4961
    5062#define stdin   (&Cbuffs[0])
  • include/vsddsw.h

    rd10dbee rd2d593b  
    3434extern  void    CpyObj(uint16_t *from, uint16_t *to, uint16_t w, uint16_t h, uint16_t sw);
    3535
     36extern  void    lseg(int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t t);
     37extern  void    vbfill4(uint16_t *obj, int16_t obwidth, int16_t xmin, int16_t ymin, int16_t xmax, int16_t ymax, uint16_t color);
    3638
     39extern  void    tsplot4(int16_t *obase, int16_t nw, int16_t fg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
     40extern  void    vcputsv(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str, int16_t pitch);
     41
Note: See TracChangeset for help on using the changeset viewer.