added qse_mbsbasename()/qse_wcsbasename()
This commit is contained in:
@ -24,12 +24,23 @@
|
||||
#include <qse/types.h>
|
||||
#include <qse/macros.h>
|
||||
|
||||
#ifdef QSE_CHAR_IS_MCHAR
|
||||
# define qse_basename(path) qse_mbsbasename(path)
|
||||
#else
|
||||
# define qse_basename(path) qse_wcsbasename(path)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const qse_char_t* qse_basename (const qse_char_t* path);
|
||||
const qse_mchar_t* qse_mbsbasename (
|
||||
const qse_mchar_t* path
|
||||
);
|
||||
|
||||
const qse_wchar_t* qse_wcsbasename (
|
||||
const qse_wchar_t* path
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: types.h 441 2011-04-22 14:28:43Z hyunghwan.chung $
|
||||
* $Id: types.h 450 2011-05-03 07:48:42Z hyunghwan.chung $
|
||||
*
|
||||
Copyright 2006-2011 Chung, Hyung-Hwan.
|
||||
This file is part of QSE.
|
||||
@ -39,7 +39,7 @@
|
||||
#elif defined(vms) || defined(__vms)
|
||||
# include <qse/conf_vms.h>
|
||||
#else
|
||||
# error unsupported operating system
|
||||
# error Unsupported operating system
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user