mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-29 20:49:19 +00:00
49 lines
1.3 KiB
C
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
|