From 11824761f84f55557123a1ad20a9674e7f9bfc6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Mon, 21 Aug 2006 20:36:51 +0200 Subject: [PATCH] Added lfun::_is_type() to the generic error. Rev: src/errors.h:1.35 --- src/errors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/errors.h b/src/errors.h index 3da9312e9b..cedada2d87 100644 --- a/src/errors.h +++ b/src/errors.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: errors.h,v 1.34 2006/07/05 20:24:53 mast Exp $ +|| $Id: errors.h,v 1.35 2006/08/21 18:36:51 grubba Exp $ */ #ifdef ERR_DECLARE @@ -89,6 +89,7 @@ DECLARE_ERROR(generic, Generic, EMPTY , ERR_FUNC("backtrace",f_error_backtrace,tFunc(tVoid,tArr(tMixed)),0) ERR_FUNC("_sprintf", f_error__sprintf, tFunc(tOr(tInt,tVoid) tOr(tMapping,tVoid),tString), ID_STATIC) + ERR_FUNC("_is_type", f_error__is_type, tFunc(tString, tInt01), ID_STATIC) ERR_FUNC("create",f_error_create,tFunc(tStr tOr(tVoid,tArr(tMixed)),tVoid),ID_STATIC) ) -- GitLab