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
@@ -1219,10 +1219,10 @@ typedef struct {
//
// It should be called before any other wuffs_adler32__hasher__* 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_adler32__hasher__check_wuffs_version(wuffs_adler32__hasher* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
+3 -3
View File
@@ -1217,11 +1217,11 @@ typedef struct {
//
// It should be called before any other wuffs_crc32__ieee_hasher__* 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_crc32__ieee_hasher__check_wuffs_version(
wuffs_crc32__ieee_hasher* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
+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
+3 -3
View File
@@ -1351,10 +1351,10 @@ typedef struct {
//
// It should be called before any other wuffs_gif__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_gif__decoder__check_wuffs_version(wuffs_gif__decoder* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
+9 -9
View File
@@ -1226,11 +1226,11 @@ typedef struct {
//
// It should be called before any other wuffs_crc32__ieee_hasher__* 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_crc32__ieee_hasher__check_wuffs_version(
wuffs_crc32__ieee_hasher* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
@@ -1411,10 +1411,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
@@ -1517,10 +1517,10 @@ typedef struct {
//
// It should be called before any other wuffs_gzip__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_gzip__decoder__check_wuffs_version(wuffs_gzip__decoder* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
+9 -9
View File
@@ -1228,10 +1228,10 @@ typedef struct {
//
// It should be called before any other wuffs_adler32__hasher__* 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_adler32__hasher__check_wuffs_version(wuffs_adler32__hasher* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes
@@ -1412,10 +1412,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
@@ -1517,10 +1517,10 @@ typedef struct {
//
// It should be called before any other wuffs_zlib__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_zlib__decoder__check_wuffs_version(wuffs_zlib__decoder* self,
uint32_t wuffs_version,
size_t sizeof_star_self);
size_t sizeof_star_self,
uint32_t wuffs_version);
// ---------------- Public Function Prototypes