| 31 | } |
| 32 | |
| 33 | int main() { |
| 34 | // Make C side consume a large portion of the stack, before bumping the rest with C++<->JS interop. |
| 35 | char staticBuffer[512288] = {}; |
| 36 | InteropString(staticBuffer); |
| 37 | int stringLength = strlen(staticBuffer); |
| 38 | printf("Got string: %s\n", staticBuffer); |
| 39 | printf("Received a string of length %d.\n", stringLength); |
| 40 | return 0; |
| 41 | } |
nothing calls this directly
no test coverage detected