summaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-10-30 16:45:12 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-10-30 16:45:12 +0000
commitcc1b420cfdd5066bc2c80c01971f567950c894e4 (patch)
tree7211465f88b791df14318c0519df98cd84feac1a /src/include/utils/builtins.h
parent770352d27960e61c1339a9db581618ad098f5324 (diff)
Add routines istrue() and isfalse() to directly evaluate boolean type.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r--src/include/utils/builtins.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 250354b04c5..a02f3addf0a 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.28 1997/10/25 05:40:43 thomas Exp $
+ * $Id: builtins.h,v 1.29 1997/10/30 16:42:50 thomas Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@@ -35,6 +35,8 @@ extern bool booleq(bool arg1, bool arg2);
extern bool boolne(bool arg1, bool arg2);
extern bool boollt(bool arg1, bool arg2);
extern bool boolgt(bool arg1, bool arg2);
+extern bool istrue(bool arg1);
+extern bool isfalse(bool arg1);
/* char.c */
extern int32 charin(char *ch);