diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2004-01-05 20:26:19 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2004-01-05 20:26:19 +0000 |
commit | 258c929f64adc92812b7d966a07ef9712686e54a (patch) | |
tree | b61d46ba69aad98c6bcbab4e7eaea5648a41dc7e /maccaml/lib.c | |
parent | b1b67be7ad15b951b0debb039304af2a8fb37ceb (diff) |
PR#1914,PR#1956, suppression du portage Mac OS 9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'maccaml/lib.c')
-rw-r--r-- | maccaml/lib.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/maccaml/lib.c b/maccaml/lib.c deleted file mode 100644 index 2c556b498..000000000 --- a/maccaml/lib.c +++ /dev/null @@ -1,35 +0,0 @@ -/***********************************************************************/ -/* */ -/* Objective Caml */ -/* */ -/* Damien Doligez, projet Para, INRIA Rocquencourt */ -/* */ -/* Copyright 1998 Institut National de Recherche en Informatique et */ -/* en Automatique. All rights reserved. This file is distributed */ -/* under the terms of the GNU Library General Public License, with */ -/* the special exception on linking described in file ../LICENSE. */ -/* */ -/***********************************************************************/ - -/* $Id$ */ - -#include "main.h" - -/* These are declared in TextUtils.h but not implemented in Apple's - libraries ?! -*/ - -void CopyPascalStringToC (ConstStr255Param src, char *dst) -{ - strncpy (dst, (char *) src + 1, src[0]); - dst [src[0]] = '\000'; -} - -void CopyCStringToPascal (const char *src, Str255 dst) -{ - int l = strlen (src); - - l = l > 255 ? 255 : l; - dst [0] = l; - strncpy ((char *) dst + 1, src, l); -} |