PageRenderTime 67ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. /* Ocaml runtime support */
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. typedef int oc_bool;
  6. extern void *nullptr;
  7. extern oc_bool isnull( void *v );
  8. extern void *get_char_ptr( char *str );
  9. extern void *make_ptr_array( int size );
  10. extern void *get_ptr( void *arrayptr, int elt );
  11. extern void set_ptr( void *arrayptr, int elt, void *elt_v );
  12. extern void *offset_ptr( void *ptr, int n );
  13. #ifdef __cplusplus
  14. };
  15. #endif