/trunk/ff.h |
---|
49,16 → 49,16 |
#define kViaThinkSoftSignature 'ViaT' // 0x56696154 (inofficial creator code) |
#define PIOIDProperty 'ObId' // 0x4f624964 |
#define TEXT_FILETYPE 'TEXT' |
#define SIG_SIMPLETEXT 'ttxt' |
#define PS_FILTER_FILETYPE '8BFM' |
#define CHUNK_ROWS 64 |
enum{ |
TAB = 011, |
LF = 012, |
CR = 015, |
CHUNK_ROWS = 64, |
TEXT_FILETYPE = 'TEXT', |
SIG_SIMPLETEXT = 'ttxt', |
PS_FILTER_FILETYPE = '8BFM' |
}; |
#ifdef _WIN32 |
/trunk/node.h |
---|
23,7 → 23,7 |
#include "symtab.h" |
enum{ MAXCHILDREN = 10 }; |
#define MAXCHILDREN 10 |
struct node{ |
int kind; |
/trunk/parser.y |
---|
59,7 → 59,7 |
struct node *parsetree; |
TCHAR *errstr; |
enum{ PARENSTACK = 100 }; |
#define PARENSTACK 100 |
int inarglist[PARENSTACK],arglistptr; // keep track of whether a comma is an function argument separator, or operator |
/trunk/read.c |
---|
33,10 → 33,8 |
} |
#endif |
enum{ |
BUFSIZE = 4L<<10, |
MAXLINE = 0x200, |
}; |
#define BUFSIZE 4L<<10 |
#define MAXLINE 0x200 |
Boolean readparams_afs_pff(Handle h, TCHAR**reason){ |
Boolean res = false; |
/trunk/save.c |
---|
23,7 → 23,7 |
#include "file_compat.h" |
#include "sprintf_tiny.h" |
enum{ CHOPLINES = 63 }; |
#define CHOPLINES 63 |
OSErr putstr(Handle h,char *s); |
/trunk/ui.h |
---|
97,9 → 97,7 |
#include "ui_compat.h" |
enum{ |
MAXEXPR = 1024, |
}; |
#define MAXEXPR 1024 |
void DoAbout(AboutRecordPtr prec); |
Boolean maindialog(FilterRecordPtr pb); |
/trunk/ui_build.c |
---|
88,8 → 88,9 |
SELECTDLGITEMTEXT(dp,TITLEITEM,0,-1); |
} |
#define MAXFIELD 0x100 |
Boolean containsUnicodeInput(DIALOGREF dp, int item) { |
enum { MAXFIELD = 0x100 }; |
char sa[MAXFIELD + 1]; |
wchar_t sw[MAXFIELD + 1]; |
size_t i; |
106,7 → 107,6 |
} |
Boolean containsExtCharset(DIALOGREF dp, int item) { |
enum { MAXFIELD = 0x100 }; |
char s[MAXFIELD + 1]; |
size_t i; |
123,7 → 123,6 |
/* process an item hit. return false if the dialog is finished; otherwise return true. */ |
Boolean builddlgitem(DIALOGREF dp,int item){ |
enum{MAXFIELD=0x100}; |
char s[MAXFIELD+1]; |
int i,needui; |
TCHAR fname[MAX_PATH + 1]; |