Change the order of check_wuffs_version args

This puts the self_ptr, self_len args next to each other.
This commit is contained in:
Nigel Tao committed 2018-05-29 21:59:50 +10:00
1 parent 1211e16e3c
commit 5b08ad2ba6
24 files changed
+184 -173

No files matched your search

+3 -3
View File
@@ -1307,10 +1307,10 @@ typedef struct {
//
// It should be called before any other wuffs_deflate__decoder__* function.
//
// Pass WUFFS_VERSION and sizeof(*self) for wuffs_version and sizeof_star_self.
// Pass sizeof(*self) and WUFFS_VERSION for sizeof_star_self and wuffs_version.
void wuffs_deflate__decoder__check_wuffs_version(wuffs_deflate__decoder* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes