/trunk/Lib/ocaml/libswigocaml.h
C++ Header | 20 lines | 14 code | 5 blank | 1 comment | 0 complexity | 490db3fb59bb3b1c401500918f708598 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- /* Ocaml runtime support */
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef int oc_bool;
- extern void *nullptr;
-
- extern oc_bool isnull( void *v );
-
- extern void *get_char_ptr( char *str );
- extern void *make_ptr_array( int size );
- extern void *get_ptr( void *arrayptr, int elt );
- extern void set_ptr( void *arrayptr, int elt, void *elt_v );
- extern void *offset_ptr( void *ptr, int n );
- #ifdef __cplusplus
- };
- #endif