Removed runtime lib. It's not needed anymore.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7556f11dee
commit
2695aede2d
3 changed files with 1 additions and 37 deletions
|
|
@ -1,2 +1,2 @@
|
|||
# see top-level Makefile.in
|
||||
libswigocaml.h
|
||||
# libswigocaml is not needed anymore.
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "libswigocaml.h"
|
||||
/* Ocaml runtime support ... not much here yet */
|
||||
|
||||
void *nullptr = 0;
|
||||
oc_bool isnull( void *v ) { return v ? 0 : 1; }
|
||||
void *get_char_ptr( char *str ) { return str; }
|
||||
void *make_ptr_array( int size ) {
|
||||
return (void *)malloc( sizeof( void * ) * size );
|
||||
}
|
||||
void *get_ptr( void *arrayptr, int elt ) {
|
||||
return ((void **)arrayptr)[elt];
|
||||
}
|
||||
void set_ptr( void *arrayptr, int elt, void *elt_v ) {
|
||||
((void **)arrayptr)[elt] = elt_v;
|
||||
}
|
||||
void *offset_ptr( void *p, int n ) { return ((char *)p) + n; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue