File: method.c

package info (click to toggle)
freej 0.10git20080824-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 13,504 kB
  • ctags: 19,398
  • sloc: ansic: 135,255; cpp: 32,550; sh: 9,318; perl: 2,932; asm: 2,355; yacc: 1,178; makefile: 1,119; java: 136; lex: 94; python: 16
file content (35 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *  Copyright (C) 2004 Steve Harris
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  $Id: method.c 2 2004-08-07 22:20:58Z theno23 $
 */

#include <stdio.h>

#include "lo_types_internal.h"
#include "lo/lo.h"

void lo_method_pp(lo_method m)
{
    lo_method_pp_prefix(m, "");
}

void lo_method_pp_prefix(lo_method m, const char *p)
{
    printf("%spath:      %s\n", p, m->path);
    printf("%stypespec:  %s\n", p, m->typespec);
    printf("%shandler:   %p\n", p, m->handler);
    printf("%suser-data: %p\n", p, m->user_data);
}

/* vi:set ts=8 sts=4 sw=4: */