Add typedefs for the pointers to the sub-structures within struct pvstate_s, so they can be used as types in function declarations (#165).

This commit is contained in:
Andrew Wood
2025-07-26 18:33:24 +01:00
parent a923bdaca4
commit b3c854b27a
+8
View File
@@ -429,8 +429,16 @@ struct pvstate_s {
} transfer;
};
typedef struct pvprogramstatus_s *pvprogramstatus_t;
typedef struct pvinputfiles_s *pvinputfiles_t;
typedef struct pvcontrol_s *pvcontrol_t;
typedef struct pvsignal_s *pvsignal_t;
typedef struct pvtransientflags_s *pvtransientflags_t;
typedef struct pvdisplay_s *pvdisplay_t;
typedef struct pvdisplay_segment_s *pvdisplay_segment_t;
typedef struct pvtransfercalc_s *pvtransfercalc_t;
typedef struct pvipcstate_s *pvipcstate_t;
typedef struct pvtransferstate_s *pvtransferstate_t;
/*
* Structure containing the parameters used by formatters.