1Builtins.null(3kaya)         Kaya module reference        Builtins.null(3kaya)
2
3
4

NAME

6       Builtins::null - Checks if a foreign pointer is NULL
7

SYNOPSIS

9       Bool null( Ptr p )
10

ARGUMENTS

12       p The foreign Ptr to check.
13

DESCRIPTION

15       Returns  true if the foreign pointer is NULL. This is useful in testing
16       whether a foreign function returns something valid, before throwing  an
17       exception. This is the only way, in general, that Ptr should be queried
18       in Kaya; usually it is better to manipulate pointers C side.
19

AUTHORS

21       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
22       (kaya@kayalang.org). For further information see http://kayalang.org/
23

LICENSE

25       The  Kaya  standard  library  is free software; you can redistribute it
26       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
27       License  (version  2.1  or  any later version) as published by the Free
28       Software Foundation.
29
30
31
32Kaya                             December 2010            Builtins.null(3kaya)
Impressum