finished interim implementation of qse_timegm() and qse_timelocal().
- currently, they use timegm() and timelocal() provided by libc. added test programs.
This commit is contained in:
@ -1,7 +1,19 @@
|
||||
/*
|
||||
* $Id: tree.h 381 2008-09-24 11:07:24Z baconevi $
|
||||
*
|
||||
* {License}
|
||||
Copyright 2006-2008 Chung, Hyung-Hwan.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef _QSE_LIB_AWK_TREE_H_
|
||||
@ -207,7 +219,7 @@ struct qse_awk_nde_int_t
|
||||
struct qse_awk_nde_real_t
|
||||
{
|
||||
QSE_AWK_NDE_HDR;
|
||||
qse_real_t val;
|
||||
qse_real_t val;
|
||||
qse_char_t* str;
|
||||
qse_size_t len;
|
||||
};
|
||||
@ -216,7 +228,7 @@ struct qse_awk_nde_real_t
|
||||
struct qse_awk_nde_str_t
|
||||
{
|
||||
QSE_AWK_NDE_HDR;
|
||||
qse_char_t* buf;
|
||||
qse_char_t* ptr;
|
||||
qse_size_t len;
|
||||
};
|
||||
|
||||
@ -224,9 +236,9 @@ struct qse_awk_nde_str_t
|
||||
struct qse_awk_nde_rex_t
|
||||
{
|
||||
QSE_AWK_NDE_HDR;
|
||||
qse_char_t* buf;
|
||||
qse_char_t* ptr;
|
||||
qse_size_t len;
|
||||
void* code;
|
||||
void* code;
|
||||
};
|
||||
|
||||
/* QSE_AWK_NDE_NAMED, QSE_AWK_NDE_GLOBAL,
|
||||
|
Reference in New Issue
Block a user