Updating some C code to make more usable

This commit is contained in:
saxon 2018-08-04 13:08:52 +09:30
parent 1a8aeace34
commit c967824d3b
1 changed files with 7 additions and 6 deletions

View File

@ -70,16 +70,17 @@ extern "C"
struct AMFObjectProperty *o_props; struct AMFObjectProperty *o_props;
} AMFObject; } AMFObject;
typedef struct P_vu {
double p_number;
AVal p_aval;
AMFObject p_object;
} P_vu;
typedef struct AMFObjectProperty typedef struct AMFObjectProperty
{ {
AVal p_name; AVal p_name;
AMFDataType p_type; AMFDataType p_type;
union P_vu p_vu;
{
double p_number;
AVal p_aval;
AMFObject p_object;
} p_vu;
int16_t p_UTCoffset; int16_t p_UTCoffset;
} AMFObjectProperty; } AMFObjectProperty;