rust/tests/run-make/raw-dylib-link-ordinal/exporter.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
232 B
C
Raw Normal View History

#include <stdio.h>
void exported_function() {
printf("exported_function\n");
}
int exported_variable = 0;
void print_exported_variable() {
printf("exported_variable value: %d\n", exported_variable);
fflush(stdout);
}