| 1 |
#define BM_NO_STL |
| 2 |
#define BM_NO_CXX11 |
| 3 |
#define BMALLOC__H__INCLUDED__ |
| 4 |
|
| 5 |
#include "libbm.h" |
| 6 |
#include "try_throw_catch.h" |
| 7 |
static jmp_buf ex_buf__; |
| 8 |
#include "bm.h" |
| 9 |
|
| 10 |
|
| 11 |
#include "jnialloc.h" |
| 12 |
|
| 13 |
#include <new> |
| 14 |
|
| 15 |
typedef libbm::standard_allocator TBM_Alloc; |
| 16 |
typedef bm::bvector<libbm::standard_allocator> TBM_bvector; |
| 17 |
|
| 18 |
// include standard C-library implementation with all allocation should now |
| 19 |
// be reimplemented to use Java specific allocator |
| 20 |
|
| 21 |
#include "libbm_impl.cpp" |
| 22 |
|
| 23 |
|
| 24 |
|