メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

kpse-xfns.h

解説を見る。
00001 /*
00002 
00003 Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
00004 Copyright (C) 1993, 94, 95, 96 Karl Berry.
00005 Copyright (C) 1997, 1998 Free Software Foundation, Inc.
00006 
00007 This library is free software; you can redistribute it and/or
00008 modify it under the terms of the GNU Library General Public
00009 License as published by the Free Software Foundation; either
00010 version 2 of the License, or (at your option) any later version.
00011 
00012 This library is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 Library General Public License for more details.
00016 
00017 You should have received a copy of the GNU Library General Public
00018 License along with this library; if not, write to the Free Software
00019 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00020 
00021 #if !defined (octave_kpse_xfns_h)
00022 #define octave_kpse_xfns_h 1
00023 
00024 /* Define the characters which separate components of
00025    filenames and environment variable paths.  */
00026 
00027 /* What separates filename components?  */
00028 #ifndef DIR_SEP
00029 #ifdef DOSISH
00030 /* Either \'s or 's work.  Wayne Sullivan's web2pc prefers /, so we'll
00031    go with that.  */
00032 #define DIR_SEP '/'
00033 #define DIR_SEP_STRING "/"
00034 #define IS_DEVICE_SEP(ch) ((ch) == ':')
00035 #define NAME_BEGINS_WITH_DEVICE(name) ((name.length()>0) && IS_DEVICE_SEP((name)[1]))
00036 /* On DOS, it's good to allow both \ and / between directories.  */
00037 #define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '\\')
00038 #else
00039 #define DIR_SEP '/'
00040 #define DIR_SEP_STRING "/"
00041 #endif /* not DOSISH */
00042 #endif /* not DIR_SEP */
00043 
00044 #ifndef IS_DIR_SEP
00045 #define IS_DIR_SEP(ch) ((ch) == DIR_SEP)
00046 #endif
00047 #ifndef IS_DEVICE_SEP /* No `devices' on, e.g., Unix.  */
00048 #define IS_DEVICE_SEP(ch) 0 
00049 #endif
00050 #ifndef NAME_BEGINS_WITH_DEVICE
00051 #define NAME_BEGINS_WITH_DEVICE(name) 0 
00052 #endif
00053 
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057 
00058 extern const char *octave_basename (const char *name);
00059 
00060 #ifdef __cplusplus
00061 }
00062 #endif
00063 
00064 #endif
00065 
00066 /*
00067 ;;; Local Variables: ***
00068 ;;; mode: C ***
00069 ;;; End: ***
00070 */

Wed Dec 29 11:51:37 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送