blob: 54c24d4badfeccf1597b53f12a61a4d7a3076760 [file] [log] [blame]
function test() {
for (let i = 0; i < 100; i++) {
let test_struct = ctypes.StructType("test_struct", [{ "x": ctypes.int32_t },
{ "bar": ctypes.uint32_t }]);
try {
new test_struct("foo", "x");
} catch (e) {
}
}
}
if (typeof ctypes === "object")
test();