File: docScreenFontList.c

package info (click to toggle)
ted 2.16-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,944 kB
  • ctags: 20,273
  • sloc: ansic: 167,980; makefile: 12,518; sh: 263
file content (27 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/****************************************************************/
/*								*/
/*  Keep a mapping from attribute number to screen font.	*/
/*								*/
/****************************************************************/

#   include	<stdlib.h>
#   include	<string.h>

#   include	"docScreenFontList.h"

#   include	<appDebugon.h>

void docInitScreenFontList(	ScreenFontList *	sfl )
    {
    sfl->sflAttributeToScreen= (int *)0;
    sfl->sflAttributeToScreenCount= 0;
    return;
    }

void docCleanScreenFontList(	ScreenFontList *	sfl )
    {
    if  ( sfl->sflAttributeToScreen )
	{ free( sfl->sflAttributeToScreen );	}

    return;
    }