mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
commit
c0ea6e7574
@ -196,12 +196,7 @@
|
|||||||
* but wants "__inline__" or something instead, #define DG_DYNARR_INLINE accordingly.
|
* but wants "__inline__" or something instead, #define DG_DYNARR_INLINE accordingly.
|
||||||
*/
|
*/
|
||||||
#ifndef DG_DYNARR_INLINE
|
#ifndef DG_DYNARR_INLINE
|
||||||
/* for pre-C99 compilers you might have to use something compiler-specific (or maybe only "static") */
|
#define DG_DYNARR_INLINE static INLINE
|
||||||
#ifdef _MSC_VER
|
|
||||||
#define DG_DYNARR_INLINE static __inline
|
|
||||||
#else
|
|
||||||
#define DG_DYNARR_INLINE static inline
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ############### Short da_* aliases for the long names ############### */
|
/* ############### Short da_* aliases for the long names ############### */
|
||||||
@ -220,8 +215,7 @@
|
|||||||
#define da_init(a) \
|
#define da_init(a) \
|
||||||
dg_dynarr_init(a)
|
dg_dynarr_init(a)
|
||||||
|
|
||||||
/*
|
/* This allows you to provide an external buffer that'll be used as long as it's big enough
|
||||||
* This allows you to provide an external buffer that'll be used as long as it's big enough
|
|
||||||
* once you add more elements than buf can hold, fresh memory will be allocated on the heap
|
* once you add more elements than buf can hold, fresh memory will be allocated on the heap
|
||||||
* Use like:
|
* Use like:
|
||||||
* DA_TYPEDEF(double, MyDoubleArrType);
|
* DA_TYPEDEF(double, MyDoubleArrType);
|
||||||
|
@ -46,7 +46,7 @@ struct tween
|
|||||||
void *userdata;
|
void *userdata;
|
||||||
};
|
};
|
||||||
|
|
||||||
DA_TYPEDEF(struct tween, tween_array_t);
|
DA_TYPEDEF(struct tween, tween_array_t)
|
||||||
|
|
||||||
struct menu_animation
|
struct menu_animation
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user