Add initial prototype.

This commit is contained in:
Rod Kay
2022-07-31 17:34:54 +10:00
commit 54a53b2ac0
1421 changed files with 358874 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
//
// SWIG interface defintion for 'Box2d_C' interface library binding.
//
%module box2d_c
%{
extern "C"
{
#include "../c/box2d-shape.h"
#include "../c/box2d-object.h"
#include "../c/box2d-joint.h"
#include "../c/box2d-space.h"
}
%}
%import "../../c_math/generate/c_math_c.i"
%include "../source/c/box2d.h"
%include "../source/c/box2d-shape.h"
%include "../source/c/box2d-object.h"
%include "../source/c/box2d-joint.h"
%include "../source/c/box2d-space.h"
// Tailoring
//
%inline
%{
%}