-
Notifications
You must be signed in to change notification settings - Fork 3
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 #30 from alexbarry/dev
html: add version info to "About" popup, add logo, remove polyfill.io
- Loading branch information
Showing
4 changed files
with
44 additions
and
3 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 |
---|---|---|
|
@@ -24,11 +24,15 @@ typedef val_t (*calc_func_t)(val_t, bool degree); | |
// TODO split into separate file, "unit_input"? | ||
unit_t eval_units(const CalcData *calcData, std::vector<UnitInfoInput> input_units); | ||
|
||
const char alexcalc_info[] = "\nAlexCalc created by Alex Barry ([email protected]). See https://github.com/alexbarry/AlexCalc . " ALEXCALC_BUILD_INFO; | ||
#define ALEXCALC_HELLO_INFO ("\nAlexCalc created by Alex Barry ([email protected]). See https://github.com/alexbarry/AlexCalc . " ALEXCALC_BUILD_INFO) | ||
|
||
const char alexcalc_hello_info[] = ALEXCALC_HELLO_INFO; | ||
const char alexcalc_build_info[] = ALEXCALC_BUILD_INFO; | ||
|
||
extern "C" | ||
const char *alexcalc_info_func(void) { | ||
return alexcalc_info; | ||
(void)alexcalc_hello_info; | ||
return alexcalc_build_info; | ||
} | ||
|
||
const char VAR_NAME_ANS[] = "ans"; | ||
|
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