From 3b262ebaaa2d2def593d1c3d663b813a2d65a4c1 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 14 Sep 2008 18:19:09 +0000 Subject: [PATCH] 2008-09-14 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/common.ch % IS*() macros now using hb_Is*() functions instead of ValType() calls. --- harbour/ChangeLog | 5 +++++ harbour/include/common.ch | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3ede281dac..49397c944f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-09-14 20:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * include/common.ch + % IS*() macros now using hb_Is*() functions instead of + ValType() calls. + 2008-09-14 19:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak + Now setting 'HB_BUILD_ST = no' will generate an MT build. diff --git a/harbour/include/common.ch b/harbour/include/common.ch index fa64464004..ea799e4fa0 100644 --- a/harbour/include/common.ch +++ b/harbour/include/common.ch @@ -61,14 +61,14 @@ /* Type checking macros */ #translate ISNIL( ) => ( == NIL ) -#translate ISARRAY( ) => ( ValType( ) == "A" ) -#translate ISBLOCK( ) => ( ValType( ) == "B" ) -#translate ISCHARACTER( ) => ( ValType( ) == "C" ) -#translate ISDATE( ) => ( ValType( ) == "D" ) -#translate ISLOGICAL( ) => ( ValType( ) == "L" ) -#translate ISMEMO( ) => ( ValType( ) == "M" ) -#translate ISNUMBER( ) => ( ValType( ) == "N" ) -#translate ISOBJECT( ) => ( ValType( ) == "O" ) +#translate ISARRAY( ) => hb_IsArray( ) +#translate ISBLOCK( ) => hb_IsBlock( ) +#translate ISCHARACTER( ) => hb_IsString( ) +#translate ISDATE( ) => hb_IsDate( ) +#translate ISLOGICAL( ) => hb_IsLogical( ) +#translate ISMEMO( ) => hb_IsMemo( ) +#translate ISNUMBER( ) => hb_IsNumeric( ) +#translate ISOBJECT( ) => hb_IsObject( ) /* DEFAULT and UPDATE commands */ #xcommand DEFAULT TO [, TO ] => ;