Changeset 374089a
- Timestamp:
- Jan 12, 2013, 7:07:34 PM (12 years ago)
- Branches:
- master, release-1.10
- Children:
- c068c03
- Parents:
- d72ba1e
- git-author:
- Jason Gross <jgross@mit.edu> (01/12/13 15:42:56)
- git-committer:
- Jason Gross <jgross@mit.edu> (01/12/13 19:07:34)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl.pm
rb303ba2 r374089a 93 93 command line, and C<MESSAGE> is the zephyr body to send. 94 94 95 =cut 96 97 sub zephyr_zwrite { 98 my ($command, $message) = @_; 99 my $ret = BarnOwl::Internal::zephyr_zwrite($command, $message); 100 die "Error sending zephyr" unless $ret == 0; 101 } 102 95 103 =head2 ztext_stylestrip STRING 96 104 -
perlglue.xs
rb303ba2 r374089a 96 96 RETVAL 97 97 98 void99 zephyr_zwrite(cmd,msg)100 const char *cmd101 const char *msg102 PREINIT:103 int i;104 CODE:105 i = owl_zwrite_create_and_send_from_line(cmd, msg);106 107 98 const utf8 * 108 99 ztext_stylestrip(ztext) … … 475 466 } 476 467 468 int 469 zephyr_zwrite(cmd,msg) 470 const char *cmd 471 const char *msg 472 CODE: 473 RETVAL = owl_zwrite_create_and_send_from_line(cmd, msg); 474 OUTPUT: 475 RETVAL 476 477 477 MODULE = BarnOwl PACKAGE = BarnOwl::Editwin 478 478
Note: See TracChangeset
for help on using the changeset viewer.