supermario/base/SuperMarioProj.1994-02-09/Interfaces/CIncludes/PLStringFuncs.h

49 lines
1.3 KiB
C
Raw Normal View History

2019-06-29 15:17:50 +00:00
/*
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