1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net.openssl: add V side declaration for C.SSL_CTX too (fix auto .str() method generation for V structs containing references to C.SSL_CTX)

This commit is contained in:
Delyan Angelov 2023-02-08 12:33:15 +02:00
parent 6136b62220
commit 522a9f5908
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -35,7 +35,11 @@ $if $pkgconfig('openssl') {
#include <openssl/err.h>
[typedef]
struct C.SSL {
pub struct C.SSL {
}
[typedef]
pub struct C.SSL_CTX {
}
fn C.BIO_new_ssl_connect(ctx &C.SSL_CTX) &C.BIO