Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcf48eb9

Browse files
committed
- Add missing VTableHeader for ContactListener
1 parent85c6d82 commitcf48eb9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎libs/JoltC/JoltPhysicsC.h‎

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

986986
typedefstructJPC_ContactListenerVTable
987987
{
988+
_JPC_VTABLE_HEADER;
989+
988990
// Optional, can be NULL.
989991
JPC_ValidateResult
990992
(*OnContactValidate)(void *in_self,

‎src/zphysics.zig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ pub const ContactListener = extern struct {
717717
}
718718

719719
pubconstVTable=externstruct {
720+
__header:VTableHeader= .{},
720721
onContactValidate:?*constfn (
721722
self:*ContactListener,
722723
body1:*constBody,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp