CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

method.c
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2004 Steve Harris
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as
6 * published by the Free Software Foundation; either version 2.1 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * $Id$
15 */
16
17 #include <stdio.h>
18
19 #include "lo_types_internal.h"
20 #include "lo/lo.h"
21
22 void lo_method_pp(lo_method m)
23 {
24 lo_method_pp_prefix(m, "");
25 }
26
27 void lo_method_pp_prefix(lo_method m, const char *p)
28 {
29 printf("%spath: %s\n", p, m->path);
30 printf("%stypespec: %s\n", p, m->typespec);
31 printf("%shandler: %p\n", p, m->handler);
32 printf("%suser-data: %p\n", p, m->user_data);
33 }
34
35 /* vi:set ts=8 sts=4 sw=4: */