-
-
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.
- Loading branch information
Showing
9 changed files
with
188 additions
and
5 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
76 changes: 76 additions & 0 deletions
76
example/lib/lib-build/src/main/cpp/source/exampleLib/src/TestLib.h
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,76 @@ | ||
#pragma once | ||
|
||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <string> | ||
#include <iostream> | ||
|
||
using namespace std; | ||
|
||
class TestObjectClass { | ||
private: | ||
|
||
public: | ||
int intValue; | ||
float floatValue; | ||
}; | ||
|
||
class TestAttributeArrayClass { | ||
private: | ||
|
||
public: | ||
int intArray[3]; | ||
float floatArray[3]; | ||
char byteArray[3]; | ||
bool boolArray[3]; | ||
TestObjectClass valueObjectArray[3]; | ||
TestObjectClass* pointerObjectArray[3]; | ||
}; | ||
|
||
class TestAttributeClass { | ||
private: | ||
|
||
public: | ||
const int readOnlyIntValue; | ||
int intValue; | ||
float floatValue; | ||
double doubleValue; | ||
bool boolValue; | ||
void* voidPointer; | ||
TestObjectClass valueObject; | ||
TestObjectClass* pointerObject; | ||
TestObjectClass* nullPointerObject; | ||
|
||
TestAttributeClass(): readOnlyIntValue(7) { | ||
pointerObject = new TestObjectClass(); | ||
nullPointerObject = NULL; | ||
}; | ||
~TestAttributeClass() { | ||
delete pointerObject; | ||
}; | ||
}; | ||
|
||
class TestConstructorClass { | ||
private: | ||
|
||
public: | ||
int intParam; | ||
float floatParam; | ||
bool boolParam; | ||
|
||
TestConstructorClass(int intParam) { | ||
this->intParam = intParam; | ||
}; | ||
TestConstructorClass(float floatParam, bool boolParam) { | ||
this->floatParam = floatParam; | ||
this->boolParam = boolParam; | ||
}; | ||
TestConstructorClass(int intParam, int intParam2, float floatParam, float floatParam2, bool boolParam = true) { | ||
this->intParam = intParam; | ||
this->floatParam = floatParam; | ||
this->boolParam = boolParam; | ||
}; | ||
TestConstructorClass(int intParam, int* intArray, float* floatArray) { | ||
this->intParam = intParam; | ||
}; | ||
}; |
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
2 changes: 2 additions & 0 deletions
2
jParser/idl/src/main/java/com/github/xpenatan/jparser/idl/IDLHelper.java
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