-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from oxfordcontrol/type_config
type configurations
- Loading branch information
Showing
6 changed files
with
48 additions
and
51 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
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
#ifndef QDLDL_TYPES_H | ||
# define QDLDL_TYPES_H | ||
|
||
# ifdef __cplusplus | ||
extern "C" { | ||
# endif /* ifdef __cplusplus */ | ||
|
||
// QDLDL integer and float types | ||
|
||
typedef @QDLDL_INT_TYPE@ QDLDL_int; /* for indices */ | ||
typedef @QDLDL_FLOAT_TYPE@ QDLDL_float; /* for numerical values */ | ||
|
||
// Use bool for logical type if available | ||
#if __STDC_VERSION__ >= 199901L | ||
typedef _Bool QDLDL_bool; | ||
#else | ||
typedef int QDLDL_bool; | ||
#endif | ||
|
||
# ifdef __cplusplus | ||
} | ||
# endif /* ifdef __cplusplus */ | ||
|
||
#endif /* ifndef QDLDL_TYPES_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 |
---|---|---|
@@ -1 +1 @@ | ||
qdldl_configure.h | ||
qdldl_types.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