Skip to content

Commit

Permalink
Add _QtIfwScript constants: NOT, EQUAL_TO, NOT_EQUAL_TO
Browse files Browse the repository at this point in the history
  • Loading branch information
BuvinJ committed Jan 14, 2021
1 parent 2550769 commit 3b16cf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion distbuilder/qt_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,12 +745,16 @@ class _QtIfwScript:
NULL = "null"
TRUE = "true"
FALSE = "false"

NOT = "! "
EQUAL_TO = " == "
NOT_EQUAL_TO = " != "

AND = " && "
OR = " || "

CONCAT = " + "

EXIT_FUNCTION = "\n return;\n"

PATH_SEP = '"\\\\"' if IS_WINDOWS else '"/"'
Expand Down
4 changes: 4 additions & 0 deletions docs/LowLevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ Static Constants :
TRUE
FALSE
NOT
EQUAL_TO
NOT_EQUAL_TO
AND
OR

Expand Down

0 comments on commit 3b16cf8

Please sign in to comment.