2
* Copyright (c) 2002 by The XFree86 Project, Inc.
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
* copy of this software and associated documentation files (the "Software"),
6
* to deal in the Software without restriction, including without limitation
7
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
* and/or sell copies of the Software, and to permit persons to whom the
9
* Software is furnished to do so, subject to the following conditions:
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
* Except as contained in this notice, the name of the XFree86 Project shall
23
* not be used in advertising or otherwise to promote the sale, use or other
24
* dealings in this Software without prior written authorization from the
27
* Author: Paulo César Pereira de Andrade
30
/* $XFree86: xc/programs/xedit/lisp/write.h,v 1.9tsi Exp $ */
40
void LispWriteInit(void);
42
LispObj *Lisp_FreshLine(LispBuiltin*);
43
LispObj *Lisp_Prin1(LispBuiltin*);
44
LispObj *Lisp_Princ(LispBuiltin*);
45
LispObj *Lisp_Print(LispBuiltin*);
46
LispObj *Lisp_Terpri(LispBuiltin*);
47
LispObj *Lisp_Write(LispBuiltin*);
48
LispObj *Lisp_WriteChar(LispBuiltin*);
49
LispObj *Lisp_WriteLine(LispBuiltin*);
50
LispObj *Lisp_WriteString(LispBuiltin*);
52
int LispGetColumn(LispObj*);
54
int LispWriteChar(LispObj*, int);
55
int LispWriteChars(LispObj*, int, int);
56
int LispWriteStr(LispObj*, char*, long);
58
/* write any lisp object to stream */
59
int LispWriteObject(LispObj*, LispObj*);
61
/* formatted output */
62
/* object must be an integer */
63
int LispFormatInteger(LispObj*, LispObj*, int, int, int, int, int, int, int);
64
/* must be in range 1 to 3999 for new roman, 1 to 4999 for old roman */
65
int LispFormatRomanInteger(LispObj*, long, int);
66
/* must be in range -9999999 to 9999999 */
67
int LispFormatEnglishInteger(LispObj*, long, int);
68
/* object must be a character */
69
int LispFormatCharacter(LispObj*, LispObj*, int, int);
70
/* object must be a float */
71
int LispFormatFixedFloat(LispObj*, LispObj*, int, int, int*, int, int, int);
72
/* object must be a float */
73
int LispFormatExponentialFloat(LispObj*, LispObj*,
74
int, int, int*, int, int, int, int, int);
75
/* object must be a float */
76
int LispFormatGeneralFloat(LispObj*, LispObj*, int,
77
int, int*, int, int, int, int, int);
78
int LispFormatDollarFloat(LispObj*, LispObj*, int, int, int, int, int, int);
80
#endif /* Lisp_write_h */