Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
cc09f18e3bd415740aef36c100c8c59378947344
/
.
/
examples
/
ffi
/
c_calling_rust
/
main.c
blob: 2a57330540c0f23205abeae53b78d89ba73e305a [
file
] [
log
] [
blame
]
Brian Silverman
cc09f18
2022-03-09 15:40:20 -0800
[
diff
] [
blame^
]
1
#include
<assert.h>
2
#include
<stdint.h>
3
4
extern
int32_t
my_favorite_number
();
5
6
int
main
(
int
argc
,
char
**
argv
)
{
7
assert
(
my_favorite_number
()
==
4
);
8
return
0
;
9
}