This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <limits.h> | |
#include <node_api.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
static int arg_buf( | |
napi_env env, | |
napi_value value, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn stack_or_result_location_semantics() custom_struct { | |
var custom_structs: [1]custom_struct = undefined; | |
fill_in_custom_struct(&custom_structs, 1); | |
return custom_structs[0]; | |
} | |
fn boom_or_safe() void { | |
var custom_struct = stack_or_result_location_semantics(); | |
} |
OlderNewer