repo.or.cz
/
cmake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: do not create a desktop link for CMakeSetup
[cmake.git]
/
Tests
/
Plugin
/
src
/
example_mod_1.c
blob
1fc7338451496e754cbdab6ff6ef88a006f4060d
1
#include <example.h>
2
3
#include <stdio.h>
4
5
#if defined(_WIN32)
6
# define MODULE_EXPORT __declspec(dllexport)
7
#else
8
# define MODULE_EXPORT
9
#endif
10
11
#ifdef __WATCOMC__
12
# define MODULE_CCONV __cdecl
13
#else
14
# define MODULE_CCONV
15
#endif
16
17
MODULE_EXPORT
int
MODULE_CCONV
example_mod_1_function
(
int
n
)
18
{
19
int
result
=
example_exe_function
() +
n
;
20
printf
(
"world
\n
"
);
21
return
result
;
22
}