boot3/Interfaces/CIncludes/PLStringFuncs.h
Elliot Nunn 5b0f0cc134 Bring in CubeE sources
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.

The Tools directory, containing mostly junk, is also excluded.
2017-12-26 10:02:57 +08:00

49 lines
1.3 KiB
C

/*
PLStringFuncs.h -- C string conversion functions for pascal
Copyright Apple Computer,Inc. 1989-1991
All rights reserved
This file is used in these builds: ROM System
Change History (most recent first):
<3> 8/8/91 JL Update copyright
<2> 6/17/91 JL Checked in MPW 3.2Ä version. Changed PLstrchr and PLstrstr 2nd
param type from char to short.
To Do:
*/
#ifndef __PLSTRINGFUNCS__
#define __PLSTRINGFUNCS__
#ifndef __TYPES__
#include <Types.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
pascal short PLstrcmp(StringPtr str1, StringPtr str2);
pascal short PLstrncmp(StringPtr str1, StringPtr str2, short num);
pascal StringPtr PLstrcpy(StringPtr str1, StringPtr str2);
pascal StringPtr PLstrncpy(StringPtr str1, StringPtr str2, short num);
pascal StringPtr PLstrcat(StringPtr str1, StringPtr str2);
pascal StringPtr PLstrncat(StringPtr str1, StringPtr str2, short num);
pascal Ptr PLstrchr(StringPtr str1, short ch1);
pascal Ptr PLstrrchr(StringPtr str1, short ch1);
pascal Ptr PLstrpbrk(StringPtr str1, StringPtr str2);
pascal short PLstrspn(StringPtr str1, StringPtr str2);
pascal Ptr PLstrstr(StringPtr str1, StringPtr str2);
pascal short PLstrlen(StringPtr str);
pascal short PLpos(StringPtr str1, StringPtr str2);
#ifdef __cplusplus
}
#endif
#endif