-
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.
Adding boolean and string types (#6)
* adding boolean and string types * update example Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
107 additions
and
22 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
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#include <cstdio> | ||
#include <ostream> | ||
#include <iostream> | ||
#include <string> | ||
#include "foo.h" | ||
|
||
void Function(unsigned long long fpIntDvtvhdxzlqqyhtfxqs, unsigned int * fpIntVsdvmhwkyypr) { | ||
void Function( std::string fpIntNirpvxxjljseoeq, long double fpFloatPfsdlnaiffqe, signed short fpIntNauekcseuyuls, STRUCTstructHsqlmtcfjxgalrdce * structHsqlmtcfjxgalrdce, double fpFloatWbxnrgynsukt, std::size_t * fpIntZitcfqtgcwgg, long double fpFloatCpeqyqqtqlwrpp) { | ||
|
||
std::cout << "fpIntDvtvhdxzlqqyhtfxqs " << fpIntDvtvhdxzlqqyhtfxqs << std::endl; | ||
std::cout << "fpIntVsdvmhwkyypr " << &fpIntVsdvmhwkyypr << std::endl; | ||
std::cout << "fpIntNirpvxxjljseoeq" << fpIntNirpvxxjljseoeq << std::endl; | ||
std::cout << "fpFloatPfsdlnaiffqe " << fpFloatPfsdlnaiffqe << std::endl; | ||
std::cout << "fpIntNauekcseuyuls" << fpIntNauekcseuyuls << std::endl; | ||
std::cout << "structHsqlmtcfjxgalrdce" << structHsqlmtcfjxgalrdce->fpIntVztmefdjczvtfppzxgu << std::endl; | ||
|
||
std::cout << "fpFloatWbxnrgynsukt " << fpFloatWbxnrgynsukt << std::endl; | ||
std::cout << "fpIntZitcfqtgcwgg" << &fpIntZitcfqtgcwgg << std::endl; | ||
std::cout << "fpFloatCpeqyqqtqlwrpp " << fpFloatCpeqyqqtqlwrpp << std::endl; | ||
|
||
} |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <string> | ||
|
||
// Structs used in the function should be declared first | ||
|
||
|
||
struct STRUCTstructHsqlmtcfjxgalrdce { | ||
signed long long fpIntVztmefdjczvtfppzxgu = -2676140095681027988; | ||
}; | ||
|
||
void Function(unsigned long long fpIntDvtvhdxzlqqyhtfxqs, unsigned int * fpIntVsdvmhwkyypr); | ||
void Function( std::string fpIntNirpvxxjljseoeq, long double fpFloatPfsdlnaiffqe, signed short fpIntNauekcseuyuls, STRUCTstructHsqlmtcfjxgalrdce * structHsqlmtcfjxgalrdce, double fpFloatWbxnrgynsukt, std::size_t * fpIntZitcfqtgcwgg, long double fpFloatCpeqyqqtqlwrpp); |
Binary file not shown.
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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#include "foo.h" | ||
#include <iostream> | ||
#include <string> | ||
|
||
int main() { | ||
|
||
// Initialize each formal param | ||
unsigned long long fpIntDvtvhdxzlqqyhtfxqs = 12893673844757825883; | ||
unsigned int fpIntVsdvmhwkyypr = 857754104; | ||
std::string fpIntNirpvxxjljseoeq = "rijpkyzbtlx"; | ||
long double fpFloatPfsdlnaiffqe = 27105.92540864471443; | ||
signed short fpIntNauekcseuyuls = 21157; | ||
STRUCTstructHsqlmtcfjxgalrdce structHsqlmtcfjxgalrdce;; | ||
double fpFloatWbxnrgynsukt = 35637.78088195861942; | ||
std::size_t fpIntZitcfqtgcwgg = 27173; | ||
long double fpFloatCpeqyqqtqlwrpp = 13697830667.942846202; | ||
|
||
// bigcall(1, 2, 3, 4, 5, bigthing); | ||
Function(fpIntDvtvhdxzlqqyhtfxqs, &fpIntVsdvmhwkyypr); | ||
Function(fpIntNirpvxxjljseoeq, fpFloatPfsdlnaiffqe, fpIntNauekcseuyuls, &structHsqlmtcfjxgalrdce, fpFloatWbxnrgynsukt, &fpIntZitcfqtgcwgg, fpFloatCpeqyqqtqlwrpp); | ||
} |
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
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#include "foo.h" | ||
#include <iostream> | ||
#include <string> | ||
|
||
int main() { | ||
|
||
|
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
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
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
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