[486] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r609 - trunk/owl

daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:06:42 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Thu, 15 Feb 2007 17:10:58 -0500 (EST)

Author: asedeno
Date: 2007-02-15 17:10:58 -0500 (Thu, 15 Feb 2007)
New Revision: 609

Modified:
   trunk/owl/perlglue.xs
Log:
Explicitly declare BarnOwl::error so it won't get autoloaded and
mapped to the owl command 'error'. The autoloaded version goes through
the command parser, which is occasionally problematic.



Modified: trunk/owl/perlglue.xs
===================================================================
--- trunk/owl/perlglue.xs	2007-02-15 18:42:10 UTC (rev 608)
+++ trunk/owl/perlglue.xs	2007-02-15 22:10:58 UTC (rev 609)
@@ -237,3 +237,11 @@
 		owl_function_popless_fmtext(&fm);
 		owl_fmtext_free(&fm);
 	}
+
+void
+error(text) 
+	char *text
+	CODE:
+	{
+		owl_function_error("%s", text);
+	}


home help back first fref pref prev next nref lref last post