PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Lib/ocaml/libswigocaml.h

#
C++ Header | 20 lines | 14 code | 5 blank | 1 comment | 0 complexity | 490db3fb59bb3b1c401500918f708598 MD5 | raw file
 1/* Ocaml runtime support */
 2
 3#ifdef __cplusplus
 4extern "C" {
 5#endif
 6
 7    typedef int oc_bool;
 8    extern void *nullptr;
 9    
10    extern oc_bool isnull( void *v );
11    
12    extern void *get_char_ptr( char *str );
13    extern void *make_ptr_array( int size );
14    extern void *get_ptr( void *arrayptr, int elt );
15    extern void set_ptr( void *arrayptr, int elt, void *elt_v );
16    extern void *offset_ptr( void *ptr, int n );
17
18#ifdef __cplusplus
19};
20#endif