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:
parent
6136b62220
commit
522a9f5908
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user