1ASON COPY(3)                     User Manuals                     ASON COPY(3)
2
3
4

NAME

6       ason_copy - Copy an ASON value.
7
8

SYNOPSIS

10       #include <ason/ason.h>
11
12       ason_t *ason_copy(ason_t *a);
13

DESCRIPTION

15       ason_copy  copys an ason_t value. The result is a new ason_t which must
16       have ason_destroy (3) called on it separately.
17
18       Note that libason may actually use refcounting  internally  to  distinā€
19       guish  objects.  Your  program should always behave as though ason_copy
20       returns a new pointer. You  should  never  use  pointer  comparison  to
21       inspect pointers to ason_t.
22

RETURN VALUE

24       ason_copy always returns a valid pointer to ason_t.
25

SEE ALSO

27       ason(3) ason_destroy(3)
28

AUTHOR

30       Casey Dahlin <casey.dahlin@gmail.com>
31
32
33
34Linux                            JANUARY 2014                     ASON COPY(3)
Impressum