mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
Switch to mostly returning objects instead of pointers since
almost all objects contain only one pointer inside, making them very small, so no point paying (de)allocation costs. This has also been done to physx-c
This commit is contained in:
@ -9,8 +9,8 @@ extern "C" {
|
||||
void* obj;
|
||||
};
|
||||
|
||||
CPxAPI CSTRUCT CPxFoundation* CPxCreateFoundation();
|
||||
CPxAPI void CPxFoundation_release(CSTRUCT CPxFoundation* cpf);
|
||||
CPxAPI CSTRUCT CPxFoundation CPxCreateFoundation();
|
||||
CPxAPI void CPxFoundation_release(CSTRUCT CPxFoundation cpf);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user