forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(docs.topics.native.mappingPrimitiveDataTypesFromC): add notes
- Loading branch information
alfredo-toledano
committed
Nov 30, 2024
1 parent
2af4135
commit 0304395
Showing
2 changed files
with
67 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef LIB2_H_INCLUDED | ||
#define LIB2_H_INCLUDED | ||
|
||
void ints(char c, short d, int e, long f); | ||
void uints(unsigned char c, unsigned short d, unsigned int e, unsigned long f); | ||
void doubles(float a, double b); | ||
|
||
#endif | ||
|
||
// if you use C++ and overloaded functions -> `extern "C"` block is missing -- https://stackoverflow.com/questions/1041866/what-is-the-effect-of-extern-c-in-c -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters