mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
a873099640
* chore: Moved examples that work more as tests to folder 'test/produces-output' * fix: Corrections to the release script * fix: Correct filename on Windows * fix: Move more files around * fix: Remove check-malloc example * fix: Apparently unicode example does not work * chore: Move nested_lambdas.carp back to examples * chore: Remove .DS_Store files * fix: Bring back unicode test * test: Make sure benchmark compile (had to remove mandelbrot and n-bodies) * fix: Replacement implementation of clock_gettime on Windows * chore: Trigger CI * fix: Define CLOCK_REALTIME Co-authored-by: Erik Svedang <erik@Eriks-iMac.local>
16 lines
234 B
C
16 lines
234 B
C
#ifndef BANANA_H
|
|
#define BANANA_H
|
|
|
|
// This is an example external struct
|
|
typedef struct {
|
|
double price;
|
|
int size;
|
|
} Banana;
|
|
|
|
// This is an external function that can be registered
|
|
int magic() {
|
|
return 123456789;
|
|
}
|
|
|
|
#endif
|