Kaydet (Commit) 48119196 authored tarafından Jack Jansen's avatar Jack Jansen

Converted the project to CW6 (it hadn't been compiled

in a long time), added a carbon target and added 2 missing
routines in Carbon.
üst 24683e65
......@@ -21,7 +21,26 @@
#include <script.h>
#include <resources.h>
#ifdef TARGET_API_MAC_CARBON
static
p2cstr(StringPtr p)
{
unsigned char *c = p;
int len = c[0];
strncpy((char *)c+1, (char *)c, len);
c[len] = 0;
}
static c2pstr(const char *cc)
{
char *c = (char *)cc; /* Ouch */
int len = strlen(c);
if ( len > 255 ) len = 255;
strncpy(c, c+1, len);
c[0] = len;
}
#endif
OSAError LoadScriptingComponent (ComponentInstance * scriptingComponent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment