@@ -106,18 +106,18 @@ typedef struct {
106
106
typedef struct {
107
107
bool is_err ;
108
108
union {
109
- fastly_world_option_string_t ok ;
109
+ fastly_world_option_list_u8_t ok ;
110
110
fastly_compute_at_edge_http_req_error_t err ;
111
111
} val ;
112
- } fastly_world_result_option_string_fastly_compute_at_edge_http_req_error_t ;
112
+ } fastly_world_result_option_list_u8_fastly_compute_at_edge_http_req_error_t ;
113
113
114
114
typedef struct {
115
115
bool is_err ;
116
116
union {
117
- fastly_world_option_list_string_t ok ;
117
+ fastly_world_option_list_list_u8_t ok ;
118
118
fastly_compute_at_edge_http_req_error_t err ;
119
119
} val ;
120
- } fastly_world_result_option_list_string_fastly_compute_at_edge_http_req_error_t ;
120
+ } fastly_world_result_option_list_list_u8_fastly_compute_at_edge_http_req_error_t ;
121
121
122
122
typedef struct {
123
123
bool is_err ;
@@ -194,10 +194,10 @@ typedef struct {
194
194
typedef struct {
195
195
bool is_err ;
196
196
union {
197
- fastly_world_option_list_string_t ok ;
197
+ fastly_world_option_list_list_u8_t ok ;
198
198
fastly_compute_at_edge_http_resp_error_t err ;
199
199
} val ;
200
- } fastly_world_result_option_list_string_fastly_compute_at_edge_http_resp_error_t ;
200
+ } fastly_world_result_option_list_list_u8_fastly_compute_at_edge_http_resp_error_t ;
201
201
202
202
typedef struct {
203
203
bool is_err ;
@@ -2259,24 +2259,24 @@ bool fastly_compute_at_edge_http_req_original_header_count(uint32_t *ret, fastly
2259
2259
}
2260
2260
}
2261
2261
2262
- bool fastly_compute_at_edge_http_req_header_value_get (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_option_string_t * ret , fastly_compute_at_edge_http_req_error_t * err ) {
2262
+ bool fastly_compute_at_edge_http_req_header_value_get (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_option_list_u8_t * ret , fastly_compute_at_edge_http_req_error_t * err ) {
2263
2263
__attribute__((__aligned__ (4 )))
2264
2264
uint8_t ret_area [16 ];
2265
2265
int32_t ptr = (int32_t ) & ret_area ;
2266
2266
__wasm_import_fastly_compute_at_edge_http_req_header_value_get ((int32_t ) (h ), (int32_t ) (* name ).ptr , (int32_t ) (* name ).len , ptr );
2267
- fastly_world_result_option_string_fastly_compute_at_edge_http_req_error_t result ;
2267
+ fastly_world_result_option_list_u8_fastly_compute_at_edge_http_req_error_t result ;
2268
2268
switch ((int32_t ) (* ((uint8_t * ) (ptr + 0 )))) {
2269
2269
case 0 : {
2270
2270
result .is_err = false;
2271
- fastly_world_option_string_t option ;
2271
+ fastly_world_option_list_u8_t option ;
2272
2272
switch ((int32_t ) (* ((uint8_t * ) (ptr + 4 )))) {
2273
2273
case 0 : {
2274
2274
option .is_some = false;
2275
2275
break ;
2276
2276
}
2277
2277
case 1 : {
2278
2278
option .is_some = true;
2279
- option .val = (fastly_world_string_t ) { (char * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
2279
+ option .val = (fastly_world_list_u8_t ) { (uint8_t * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
2280
2280
break ;
2281
2281
}
2282
2282
}
@@ -2299,24 +2299,24 @@ bool fastly_compute_at_edge_http_req_header_value_get(fastly_compute_at_edge_htt
2299
2299
}
2300
2300
}
2301
2301
2302
- bool fastly_compute_at_edge_http_req_header_values_get (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_option_list_string_t * ret , fastly_compute_at_edge_http_req_error_t * err ) {
2302
+ bool fastly_compute_at_edge_http_req_header_values_get (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_option_list_list_u8_t * ret , fastly_compute_at_edge_http_req_error_t * err ) {
2303
2303
__attribute__((__aligned__ (4 )))
2304
2304
uint8_t ret_area [16 ];
2305
2305
int32_t ptr = (int32_t ) & ret_area ;
2306
2306
__wasm_import_fastly_compute_at_edge_http_req_header_values_get ((int32_t ) (h ), (int32_t ) (* name ).ptr , (int32_t ) (* name ).len , ptr );
2307
- fastly_world_result_option_list_string_fastly_compute_at_edge_http_req_error_t result ;
2307
+ fastly_world_result_option_list_list_u8_fastly_compute_at_edge_http_req_error_t result ;
2308
2308
switch ((int32_t ) (* ((uint8_t * ) (ptr + 0 )))) {
2309
2309
case 0 : {
2310
2310
result .is_err = false;
2311
- fastly_world_option_list_string_t option ;
2311
+ fastly_world_option_list_list_u8_t option ;
2312
2312
switch ((int32_t ) (* ((uint8_t * ) (ptr + 4 )))) {
2313
2313
case 0 : {
2314
2314
option .is_some = false;
2315
2315
break ;
2316
2316
}
2317
2317
case 1 : {
2318
2318
option .is_some = true;
2319
- option .val = (fastly_world_list_string_t ) { (fastly_world_string_t * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
2319
+ option .val = (fastly_world_list_list_u8_t ) { (fastly_world_list_u8_t * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
2320
2320
break ;
2321
2321
}
2322
2322
}
@@ -2339,7 +2339,7 @@ bool fastly_compute_at_edge_http_req_header_values_get(fastly_compute_at_edge_ht
2339
2339
}
2340
2340
}
2341
2341
2342
- bool fastly_compute_at_edge_http_req_header_values_set (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_list_string_t * values , fastly_compute_at_edge_http_req_error_t * err ) {
2342
+ bool fastly_compute_at_edge_http_req_header_values_set (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_list_list_u8_t * values , fastly_compute_at_edge_http_req_error_t * err ) {
2343
2343
__attribute__((__aligned__ (1 )))
2344
2344
uint8_t ret_area [2 ];
2345
2345
int32_t ptr = (int32_t ) & ret_area ;
@@ -2364,7 +2364,7 @@ bool fastly_compute_at_edge_http_req_header_values_set(fastly_compute_at_edge_ht
2364
2364
}
2365
2365
}
2366
2366
2367
- bool fastly_compute_at_edge_http_req_header_insert (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_string_t * value , fastly_compute_at_edge_http_req_error_t * err ) {
2367
+ bool fastly_compute_at_edge_http_req_header_insert (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_list_u8_t * value , fastly_compute_at_edge_http_req_error_t * err ) {
2368
2368
__attribute__((__aligned__ (1 )))
2369
2369
uint8_t ret_area [2 ];
2370
2370
int32_t ptr = (int32_t ) & ret_area ;
@@ -2389,7 +2389,7 @@ bool fastly_compute_at_edge_http_req_header_insert(fastly_compute_at_edge_http_r
2389
2389
}
2390
2390
}
2391
2391
2392
- bool fastly_compute_at_edge_http_req_header_append (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_string_t * value , fastly_compute_at_edge_http_req_error_t * err ) {
2392
+ bool fastly_compute_at_edge_http_req_header_append (fastly_compute_at_edge_http_req_request_handle_t h , fastly_world_string_t * name , fastly_world_list_u8_t * value , fastly_compute_at_edge_http_req_error_t * err ) {
2393
2393
__attribute__((__aligned__ (1 )))
2394
2394
uint8_t ret_area [2 ];
2395
2395
int32_t ptr = (int32_t ) & ret_area ;
@@ -3299,24 +3299,24 @@ bool fastly_compute_at_edge_http_resp_header_value_get(fastly_compute_at_edge_ht
3299
3299
}
3300
3300
}
3301
3301
3302
- bool fastly_compute_at_edge_http_resp_header_values_get (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_option_list_string_t * ret , fastly_compute_at_edge_http_resp_error_t * err ) {
3302
+ bool fastly_compute_at_edge_http_resp_header_values_get (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_option_list_list_u8_t * ret , fastly_compute_at_edge_http_resp_error_t * err ) {
3303
3303
__attribute__((__aligned__ (4 )))
3304
3304
uint8_t ret_area [16 ];
3305
3305
int32_t ptr = (int32_t ) & ret_area ;
3306
3306
__wasm_import_fastly_compute_at_edge_http_resp_header_values_get ((int32_t ) (h ), (int32_t ) (* name ).ptr , (int32_t ) (* name ).len , ptr );
3307
- fastly_world_result_option_list_string_fastly_compute_at_edge_http_resp_error_t result ;
3307
+ fastly_world_result_option_list_list_u8_fastly_compute_at_edge_http_resp_error_t result ;
3308
3308
switch ((int32_t ) (* ((uint8_t * ) (ptr + 0 )))) {
3309
3309
case 0 : {
3310
3310
result .is_err = false;
3311
- fastly_world_option_list_string_t option ;
3311
+ fastly_world_option_list_list_u8_t option ;
3312
3312
switch ((int32_t ) (* ((uint8_t * ) (ptr + 4 )))) {
3313
3313
case 0 : {
3314
3314
option .is_some = false;
3315
3315
break ;
3316
3316
}
3317
3317
case 1 : {
3318
3318
option .is_some = true;
3319
- option .val = (fastly_world_list_string_t ) { (fastly_world_string_t * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
3319
+ option .val = (fastly_world_list_list_u8_t ) { (fastly_world_list_u8_t * )(* ((int32_t * ) (ptr + 8 ))), (size_t )(* ((int32_t * ) (ptr + 12 ))) };
3320
3320
break ;
3321
3321
}
3322
3322
}
@@ -3339,7 +3339,7 @@ bool fastly_compute_at_edge_http_resp_header_values_get(fastly_compute_at_edge_h
3339
3339
}
3340
3340
}
3341
3341
3342
- bool fastly_compute_at_edge_http_resp_header_values_set (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_list_string_t * values , fastly_compute_at_edge_http_resp_error_t * err ) {
3342
+ bool fastly_compute_at_edge_http_resp_header_values_set (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_list_list_u8_t * values , fastly_compute_at_edge_http_resp_error_t * err ) {
3343
3343
__attribute__((__aligned__ (1 )))
3344
3344
uint8_t ret_area [2 ];
3345
3345
int32_t ptr = (int32_t ) & ret_area ;
@@ -3364,7 +3364,7 @@ bool fastly_compute_at_edge_http_resp_header_values_set(fastly_compute_at_edge_h
3364
3364
}
3365
3365
}
3366
3366
3367
- bool fastly_compute_at_edge_http_resp_header_insert (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_string_t * value , fastly_compute_at_edge_http_resp_error_t * err ) {
3367
+ bool fastly_compute_at_edge_http_resp_header_insert (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_list_u8_t * value , fastly_compute_at_edge_http_resp_error_t * err ) {
3368
3368
__attribute__((__aligned__ (1 )))
3369
3369
uint8_t ret_area [2 ];
3370
3370
int32_t ptr = (int32_t ) & ret_area ;
@@ -3389,7 +3389,7 @@ bool fastly_compute_at_edge_http_resp_header_insert(fastly_compute_at_edge_http_
3389
3389
}
3390
3390
}
3391
3391
3392
- bool fastly_compute_at_edge_http_resp_header_append (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_string_t * value , fastly_compute_at_edge_http_resp_error_t * err ) {
3392
+ bool fastly_compute_at_edge_http_resp_header_append (fastly_compute_at_edge_http_resp_response_handle_t h , fastly_world_string_t * name , fastly_world_list_u8_t * value , fastly_compute_at_edge_http_resp_error_t * err ) {
3393
3393
__attribute__((__aligned__ (1 )))
3394
3394
uint8_t ret_area [2 ];
3395
3395
int32_t ptr = (int32_t ) & ret_area ;
0 commit comments