Skip to content

Commit 8a65dbb

Browse files
committed
Merge branch '0.15.x' of github.com:kcbanner/zphysics into 0.15.x # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
- Remove the vtable header from ContactListener (it's called manually, not used as an actual vtable)
1 parent f1546c6 commit 8a65dbb

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

libs/JoltC/JoltPhysicsC.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,8 +995,6 @@ typedef struct JPC_CharacterContactListenerVTable
995995

996996
typedef struct JPC_ContactListenerVTable
997997
{
998-
_JPC_VTABLE_HEADER;
999-
1000998
// Optional, can be NULL.
1001999
JPC_ValidateResult
10021000
(*OnContactValidate)(void *in_self,

src/zphysics.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,6 @@ pub const ContactListener = extern struct {
514514
}
515515

516516
pub const VTable = extern struct {
517-
__header: VTableHeader = .{},
518517
onContactValidate: *const fn (
519518
self: *ContactListener,
520519
body1: *const Body,

0 commit comments

Comments
 (0)