Files
m2dev-client-src/extern/include/granny2_spu_samplemodel.h
d1str4ught 4be475f111 init
2025-08-18 19:46:48 +02:00

52 lines
1.4 KiB
C

#if !defined(GRANNY2_SPU_SAMPLEMODEL_H)
/* ========================================================================
$Notice: $
======================================================================== */
#if !defined(GRANNY_CALLBACK) || !defined(GRANNY_DYNLINK) || !defined(GRANNY_DYNLINKDATA)
#undef GRANNY_CALLBACK
#define GRANNY_CALLBACK(ret) ret
#undef GRANNY_DYNLINK
#define GRANNY_DYNLINK(ret) ret
#undef GRANNY_DYNLINKDATA
#define GRANNY_DYNLINKDATA(type) type
#endif
// Assume gcc style __attribute__ packing directives
#define GrannyAlignAttribute __attribute__ ((__packed__))
// This will fire with a negative subscript error if the type sizes
// are set incorrectly by the compiler, and compile out if not.
#define GrannyTypeSizeCheck(expr) \
typedef int GrannyTypeSizeCheck__[(expr) ? 1 : -1]
#define GRANNY_STRUCT(x) x
// #define GRANNY granny::
// #define USING_GRANNY_NAMESPACE using namespace granny
typedef unsigned long long uint64x;
// #ifdef __cplusplus
// namespace granny {
// #endif
GRANNY_FORWARD_DECL_OPAQUE_STRUCT(radspu_command_queue_spuside);
GRANNY_FORWARD_DECL_OPAQUE_STRUCT(radspu_command);
/* granny_spu_commands_spuside.h bindings: */
GRANNY_DYNLINK(int) GrannySPUMain(radspu_command_queue_spuside * Queue,
int DMATag);
// Don't export this macro...
#undef GrannyTypeSizeCheck
#undef GrannyAlignAttribute
#define GRANNY2_SPU_SAMPLEMODEL_H
#endif