From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Library:Box2D" |
|---|
| claim | "In Box2D 3.x b2GetVersion() returns a b2Version of three ints (major, minor, revision) filled from B2_VERSION_MAJOR, B2_VERSION_MINOR and B2_VERSION_REVISION; the tree at the read commit is 3.2.0." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Box2D" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "b2Version" |
|---|
| size | 12 |
|---|
| fields | | name | "major" |
|---|
| offset | 0 |
|---|
| type | "i32" |
|---|
|
| name | "minor" |
|---|
| offset | 4 |
|---|
| type | "i32" |
|---|
|
| name | "revision" |
|---|
| offset | 8 |
|---|
| type | "i32" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "b2Version typedef and the B2_VERSION_MAJOR 3 / MINOR 2 / REVISION 0 macros" |
|---|
| repo | "https://github.com/erincatto/box2d" |
|---|
| commit | "ac7c751eaeddbabdc1c4d41ae4f3a25d78627790" |
|---|
| path | "include/box2d/base.h" |
|---|
| lines | "120-139" |
|---|
|
| type | "source" |
|---|
| detail | "b2GetVersion returns the compound literal from the macros" |
|---|
| repo | "https://github.com/erincatto/box2d" |
|---|
| commit | "ac7c751eaeddbabdc1c4d41ae4f3a25d78627790" |
|---|
| path | "src/core.c" |
|---|
| lines | "101-108" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "b2Version and b2GetVersion" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:55:37.464Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:01:23.011Z" |
|---|
| result | "confirmed" |
|---|
| method | "Downloaded include/box2d/base.h and src/core.c at ac7c751e: b2Version is three ints (major, minor, revision), macros 3/2/0, b2GetVersion returns the compound literal from them." |
|---|
|
|
|---|