Box2D: Box2D/Box2D/Common/b2Settings.cpp File Reference

# Box2D/Box2D/Common/b2Settings.cpp File Reference

`#include <Box2D/Common/b2Settings.h>`
`#include <cstdlib>`

## Functions

void * | b2Alloc (int32 size)
| Implement this function to use your own memory allocator.
void | b2Free (void *mem)
| If you implement b2Alloc, you should also implement this function.

## Variables

b2Version | b2_version = {2, 1, 0}
| Current version.

## Function Documentation

void* b2Alloc | ( | int32 | size | ) |

Implement this function to use your own memory allocator.

void b2Free | ( | void * | mem | ) |

If you implement b2Alloc, you should also implement this function.

## Variable Documentation

b2Version b2_version = {2, 1, 0}

Current version.