Changeset caac19d for perlglue.xs


Ignore:
Timestamp:
Jun 25, 2011, 10:01:27 AM (10 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
fe7ece2
Parents:
67b959c
git-author:
Jason Gross <jgross@mit.edu> (05/23/11 19:23:05)
git-committer:
Jason Gross <jgross@mit.edu> (06/25/11 10:01:27)
Message:
Improved ability to delete messages from perl

BarnOwl::Message now has a delete_and_expunge command, and
BarnOwl::queue_message returns the queued message, so that deletion
actually works; there used to be no way to get the id of a queued
message, and so ->delete() didn't actually do anything...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rce68f23 rcaac19d  
    143143                g_free(rv);
    144144
    145 void
     145SV *
    146146queue_message(msg)
    147147        SV *msg
     
    157157
    158158                owl_global_messagequeue_addmsg(&g, m);
    159         }
     159
     160                RETVAL = owl_perlconfig_message2hashref(m);
     161        }
     162        OUTPUT:
     163                RETVAL
    160164
    161165void
Note: See TracChangeset for help on using the changeset viewer.