File: typemap

package info (click to toggle)
libevent-perl 1.28-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 776 kB
  • sloc: ansic: 3,035; perl: 1,122; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (9)
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
TYPEMAP

pe_watcher *	O_WATCHER
pe_event *	O_EVENT
pe_genericsrc *	O_GENERICSRC

INPUT

O_WATCHER
	$var = ($type) sv_2watcher($arg)

O_EVENT
	$var = ($type) sv_2event($arg)

O_GENERICSRC
	$var = ($type) sv_2genericsrc($arg)

OUTPUT

O_WATCHER
	croak("use watcher_2sv($var)")

O_EVENT
	croak("use event_2sv($var)")

O_GENERICSRC
	croak("use genericsrc_2sv($var)")