use a more standard method of forward-declaring the structure
This commit is contained in:
parent
7583ccad2a
commit
a1dd8405f4
@ -34,6 +34,8 @@
|
|||||||
|
|
||||||
#include "components/esp-tls/esp_tls.h"
|
#include "components/esp-tls/esp_tls.h"
|
||||||
|
|
||||||
|
typedef struct ssl_sslsocket_obj ssl_sslsocket_obj_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
mp_obj_base_t base;
|
mp_obj_base_t base;
|
||||||
int num;
|
int num;
|
||||||
@ -42,7 +44,7 @@ typedef struct {
|
|||||||
int ipproto;
|
int ipproto;
|
||||||
bool connected;
|
bool connected;
|
||||||
socketpool_socketpool_obj_t *pool;
|
socketpool_socketpool_obj_t *pool;
|
||||||
struct ssl_sslsocket_obj *ssl_socket;
|
ssl_sslsocket_obj_t *ssl_socket;
|
||||||
mp_uint_t timeout_ms;
|
mp_uint_t timeout_ms;
|
||||||
} socketpool_socket_obj_t;
|
} socketpool_socket_obj_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user