Changeset c08c70a for perlconfig.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:19 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1fdab04
Parents:
25fb825
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 00:44:38)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:19)
Message:
Add const qualifiers for owl_message *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlconfig.c

    r25fb825 rc08c70a  
    2222}
    2323
    24 SV *owl_perlconfig_message2hashref(owl_message *m)
     24SV *owl_perlconfig_message2hashref(const owl_message *m)
    2525{
    2626  HV *h, *stash;
     
    197197/* Calls in a scalar context, passing it a hash reference.
    198198   If return value is non-null, caller must free. */
    199 char *owl_perlconfig_call_with_message(const char *subname, owl_message *m)
     199char *owl_perlconfig_call_with_message(const char *subname, const owl_message *m)
    200200{
    201201  dSP ;
     
    246246   If the return value is non-null, the caller must free it.
    247247 */
    248 char * owl_perlconfig_message_call_method(owl_message *m, const char *method, int argc, const char ** argv)
     248char * owl_perlconfig_message_call_method(const owl_message *m, const char *method, int argc, const char ** argv)
    249249{
    250250  dSP;
     
    408408}
    409409
    410 void owl_perlconfig_getmsg(owl_message *m, const char *subname)
     410void owl_perlconfig_getmsg(const owl_message *m, const char *subname)
    411411{
    412412  char *ptr = NULL;
     
    419419
    420420/* Called on all new messages; receivemsg is only called on incoming ones */
    421 void owl_perlconfig_newmsg(owl_message *m, const char *subname)
     421void owl_perlconfig_newmsg(const owl_message *m, const char *subname)
    422422{
    423423  char *ptr = NULL;
Note: See TracChangeset for help on using the changeset viewer.