Files
physx-go/pgo/physx-c/CPxFoundation.h
bloeys a01e4b6bbd 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
2022-12-19 00:43:04 +04:00

18 lines
299 B
C
Executable File

#ifndef CPxFoundation_H
#define CPxFoundation_H
#ifdef __cplusplus
extern "C" {
#endif
struct CPxFoundation
{
void* obj;
};
CPxAPI CSTRUCT CPxFoundation CPxCreateFoundation();
CPxAPI void CPxFoundation_release(CSTRUCT CPxFoundation cpf);
#ifdef __cplusplus
}
#endif
#endif