Skip to content

Commit

Permalink
Merge pull request #67 from Geod24/fix-bio-ctrl-long
Browse files Browse the repository at this point in the history
bio: Fix BIO ctrl callback signature (long -> c_long)
  • Loading branch information
CyberShadow authored May 23, 2022
2 parents ce9fd3f + a359cdc commit b3b6a71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/deimos/openssl/bio.d
Original file line number Diff line number Diff line change
Expand Up @@ -779,15 +779,15 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
int function(BIO_METHOD *biom) BIO_meth_get_gets(BIO *, char *, int);
int BIO_meth_set_gets(BIO_METHOD *biom,
int function(BIO *, char *, int) gets);
long function(BIO_METHOD *biom) BIO_meth_get_ctrl(BIO *, int, long, void *);
c_long function(BIO *, int, c_long, void *) BIO_meth_get_ctrl(BIO_METHOD *biom);
int BIO_meth_set_ctrl(BIO_METHOD *biom,
long function(BIO *, int, long, void *) ctrl);
c_long function(BIO *, int, c_long, void *) ctrl);
int function(BIO_METHOD *bion) BIO_meth_get_create(BIO *);
int BIO_meth_set_create(BIO_METHOD *biom, int function(BIO *) create);
int function(BIO_METHOD *biom) BIO_meth_get_destroy(BIO *);
int BIO_meth_set_destroy(BIO_METHOD *biom, int function(BIO *) destroy);
long function(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl(BIO_METHOD *biom);
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, long function(BIO *, int, BIO_info_cb *) callback_ctrl);
c_long function(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl(BIO_METHOD *biom);
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, c_long function(BIO *, int, BIO_info_cb *) callback_ctrl);

/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
Expand Down

0 comments on commit b3b6a71

Please sign in to comment.