annotate src/cutils.h @ 12312:b10ea6efdc58 release-3-4-x ss-3-3-91

version is now 3.3.91
author John W. Eaton <jwe@octave.org>
date Mon, 31 Jan 2011 08:36:58 -0500
parents e4e82740e9cd
children 72c96de7a403
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11512
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 /*
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 Copyright (C) 2011 John W. Eaton
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 This file is part of Octave.
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 Free Software Foundation; either version 3 of the License, or (at your
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 option) any later version.
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 Octave is distributed in the hope that it will be useful, but WITHOUT
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 for more details.
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 along with Octave; see the file COPYING. If not, see
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 <http://www.gnu.org/licenses/>.
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 */
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 #if !defined (octave_cutils_h)
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 #define octave_cutils_h 1
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 #include <stdarg.h>
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 #ifdef __cplusplus
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 extern "C" {
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 #endif
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 OCTINTERP_API void octave_sleep (unsigned int seconds);
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 OCTINTERP_API void octave_usleep (unsigned int useconds);
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36 OCTINTERP_API int
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 octave_raw_vsnprintf (char *buf, size_t n, const char *fmt, va_list args);
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 #ifdef __cplusplus
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 }
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 #endif
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 #endif