physics.box2d.thin: Update swig binding.
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
-- This file is generated by SWIG. Please do *not* modify by hand.
|
||||
-- This file is generated by SWIG. Please do not modify by hand.
|
||||
--
|
||||
with c_math_c.Vector_3;
|
||||
with interfaces.C;
|
||||
with Interfaces.C;
|
||||
|
||||
use Interfaces.C;
|
||||
with interfaces.C.Pointers;
|
||||
|
||||
|
||||
|
||||
package box2d_c.b2d_Contact is
|
||||
|
||||
-- Item
|
||||
--
|
||||
--
|
||||
|
||||
type Item is
|
||||
type Item is
|
||||
record
|
||||
Object_A : access box2d_c.Object;
|
||||
Object_B : access box2d_c.Object;
|
||||
@@ -19,25 +22,35 @@ type Item is
|
||||
|
||||
|
||||
|
||||
-- Items
|
||||
--
|
||||
type Items is array (interfaces.C.Size_t range <>) of aliased box2d_c.b2d_Contact.Item;
|
||||
-- Item_Array
|
||||
--
|
||||
type Item_Array is array (interfaces.C.Size_t range <>) of aliased box2d_c.b2d_Contact.Item;
|
||||
|
||||
|
||||
|
||||
-- Pointer
|
||||
--
|
||||
type Pointer is access all box2d_c.b2d_Contact.Item;
|
||||
--
|
||||
package C_Pointers is new interfaces.c.Pointers (Index => interfaces.c.size_t,
|
||||
Element => box2d_c.b2d_Contact.Item,
|
||||
element_Array => box2d_c.b2d_Contact.Item_Array,
|
||||
default_Terminator => (others => <>));
|
||||
|
||||
-- Pointers
|
||||
--
|
||||
type Pointers is array (interfaces.C.Size_t range <>) of aliased box2d_c.b2d_Contact.Pointer;
|
||||
subtype Pointer is C_Pointers.Pointer;
|
||||
|
||||
-- Pointer_Array
|
||||
--
|
||||
type Pointer_Array is array (interfaces.C.Size_t range <>) of aliased box2d_c.b2d_Contact.Pointer;
|
||||
|
||||
|
||||
|
||||
-- Pointer_Pointer
|
||||
--
|
||||
type Pointer_Pointer is access all box2d_c.b2d_Contact.Pointer;
|
||||
--
|
||||
package C_Pointer_Pointers is new interfaces.c.Pointers (Index => interfaces.c.size_t,
|
||||
Element => box2d_c.b2d_Contact.Pointer,
|
||||
element_Array => box2d_c.b2d_Contact.Pointer_Array,
|
||||
default_Terminator => null);
|
||||
|
||||
subtype Pointer_Pointer is C_Pointer_Pointers.Pointer;
|
||||
|
||||
|
||||
|
||||
@@ -46,6 +59,10 @@ type Item is
|
||||
|
||||
function construct return box2d_c.b2d_Contact.Item;
|
||||
|
||||
procedure destruct_0 (Self : in box2d_c.b2d_Contact.Item);
|
||||
|
||||
procedure destruct (Self : in box2d_c.b2d_Contact.Item);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +75,10 @@ private
|
||||
|
||||
|
||||
|
||||
pragma Import (C, construct, "Ada_new_b2d_Contact");
|
||||
|
||||
pragma Import (CPP, construct, "ada_new_b2d_Contact_b2d_Contact");
|
||||
pragma Import (CPP, destruct_0, "_ZN11b2d_ContactD1Ev");
|
||||
pragma Import (CPP, destruct, "_ZN11b2d_ContactD1Ev");
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user