File: typemap

package info (click to toggle)
libmath-int64-perl 0.57-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 588 kB
  • sloc: perl: 2,593; ansic: 320; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (4)
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
#
# typemap - This file is in the public domain
#
# Author: Salvador Fandino <sfandino@yahoo.com>
# Version: 1.0
#


TYPEMAP
int64_t         T_INT64
uint64_t        T_UINT64

INPUT
T_INT64
        $var = SvI64($arg);

T_UINT64
        $var = SvU64($arg);

OUTPUT
T_INT64
        $arg = newSVi64($var);

T_UINT64
        $arg = newSVu64($var);