Skip to content

Commit f39c43d

Browse files
committed
Export symbols
1 parent 8b046ec commit f39c43d

File tree

1 file changed

+8
-0
lines changed
  • pyperformance/data-files/benchmarks/bm_ctypes

1 file changed

+8
-0
lines changed

pyperformance/data-files/benchmarks/bm_ctypes/cmodule.c

+8
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
#include <Python.h>
22

3+
4+
Py_EXPORTED_SYMBOL
35
void void_foo_void(void) {
46

57
}
68

9+
Py_EXPORTED_SYMBOL
710
int int_foo_int(int a) {
811
return a + 1;
912
}
1013

14+
Py_EXPORTED_SYMBOL
1115
void void_foo_int(int a) {
1216

1317
}
1418

19+
Py_EXPORTED_SYMBOL
1520
void void_foo_int_int(int a, int b) {
1621

1722
}
1823

24+
Py_EXPORTED_SYMBOL
1925
void void_foo_int_int_int(int a, int b, int c) {
2026

2127
}
2228

29+
Py_EXPORTED_SYMBOL
2330
void void_foo_int_int_int_int(int a, int b, int c, int d) {
2431

2532
}
2633

34+
Py_EXPORTED_SYMBOL
2735
void void_foo_constchar(const char* str) {
2836

2937
}

0 commit comments

Comments
 (0)