File: typemap

package info (click to toggle)
libclass-mop-perl 1.04-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,244 kB
  • ctags: 1,272
  • sloc: perl: 5,192; ansic: 241; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type_filter_t  T_TYPE_FILTER

INPUT

T_TYPE_FILTER
    {
        const char *__tMp = SvPV_nolen($arg);
        switch (*__tMp) {
            case 'C': $var = TYPE_FILTER_CODE;   break;
            case 'A': $var = TYPE_FILTER_ARRAY;  break;
            case 'I': $var = TYPE_FILTER_IO;     break;
            case 'H': $var = TYPE_FILTER_HASH;   break;
            case 'S': $var = TYPE_FILTER_SCALAR; break;
            default:
                croak(\"Unknown type %s\\n\", __tMp);
        }
    }