From 1e36c83be8d088a662081d80e9718eb14bc0556d Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 1 Sep 2005 09:36:29 +0000 Subject: 2005-09-01 Martin Hunt * tapset/builtin_logging.stp: Add print. --- tapset/builtin_logging.stp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tapset/builtin_logging.stp') diff --git a/tapset/builtin_logging.stp b/tapset/builtin_logging.stp index b1948877..432d8b1a 100644 --- a/tapset/builtin_logging.stp +++ b/tapset/builtin_logging.stp @@ -1,5 +1,13 @@ # This file contains simple bridging functions to the runtime +function _print (msg) %{ + _stp_print (THIS->msg); +%} + +function print (msg) { + _print (msg . "\n") +} + function _log (msg) %{ _stp_log (THIS->msg); %} -- cgit