I have no idea what I’m doing.
#ifdef __cplusplus
#include <map>
#include <vector>
struct BL_FramePropertyPair {
CValue* property;
} BL_FramePropertyPair;
class BL_ActionGameLogic {
public:
BL_ActionGameLogic();
void wilma(int);
void apply_properties(int frame, KX_GameObject* go);
private:
std::map<int, std::vector<BL_FramePropertyPair>> frame;
};
#else
typedef
struct BL_ActionGameLogic
Fred;
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__STDC__) || defined(__cplusplus)
extern void c_function(BL_ActionGameLogic*); /* ANSI C prototypes */
extern Fred* cplusplus_callback_function(BL_ActionGameLogic*);
extern void add_property(BL_ActionGameLogic* agl);
extern void remove_property(BL_ActionGameLogic* agl);
#else
extern void c_function(); /* K&R style */
extern Fred* cplusplus_callback_function();
#endif
#ifdef __cplusplus
}
#endif

