compiler/libec; ecere; ide: Safer default virtual method calls
authorJerome St-Louis <jerome@ecere.com>
Sun, 15 Feb 2015 19:56:08 +0000 (14:56 -0500)
committerJerome St-Louis <jerome@ecere.com>
Tue, 22 Dec 2015 05:06:10 +0000 (00:06 -0500)
commit7968591652318eaf5b17fba8a14e864604d939c9
tree5b53776e9e8749f38c7bed2bd2a7442f54ddf4f3
parent53b49ef3cbf123f024d9836e64c59df30133f387
compiler/libec; ecere; ide: Safer default virtual method calls
- Replacing use of DefaultFunction() in favor of null pointer for unspecified
  virtual methods, with a conditional check defaulting to a type-casted '1'
  default value.
- Calling DefaultFunction() with different signature did not work with Emscripten
43 files changed:
compiler/bootstrap/ecc/bootstrap/ecc.c
compiler/bootstrap/ecere/bootstrap/AVLTree.c
compiler/bootstrap/ecere/bootstrap/Array.c
compiler/bootstrap/ecere/bootstrap/BufferedFile.c
compiler/bootstrap/ecere/bootstrap/BuiltInContainer.c
compiler/bootstrap/ecere/bootstrap/Container.c
compiler/bootstrap/ecere/bootstrap/CustomAVLTree.c
compiler/bootstrap/ecere/bootstrap/DualPipe.c
compiler/bootstrap/ecere/bootstrap/File.c
compiler/bootstrap/ecere/bootstrap/LinkList.c
compiler/bootstrap/ecere/bootstrap/List.c
compiler/bootstrap/ecere/bootstrap/Map.c
compiler/bootstrap/ecere/bootstrap/System.c
compiler/bootstrap/ecere/bootstrap/TempFile.c
compiler/bootstrap/ecere/bootstrap/dataTypes.c
compiler/bootstrap/ecere/bootstrap/i18n.c
compiler/bootstrap/ecere/bootstrap/instance.c
compiler/bootstrap/ecp/bootstrap/ecp.c
compiler/bootstrap/ecs/bootstrap/ecs.c
compiler/bootstrap/libec/bootstrap/ast.c
compiler/bootstrap/libec/bootstrap/ecdefs.c
compiler/bootstrap/libec/bootstrap/freeAst.c
compiler/bootstrap/libec/bootstrap/grammar.c
compiler/bootstrap/libec/bootstrap/lexer.c
compiler/bootstrap/libec/bootstrap/loadSymbols.c
compiler/bootstrap/libec/bootstrap/output.c
compiler/bootstrap/libec/bootstrap/pass0.c
compiler/bootstrap/libec/bootstrap/pass1.c
compiler/bootstrap/libec/bootstrap/pass15.c
compiler/bootstrap/libec/bootstrap/pass16.c
compiler/bootstrap/libec/bootstrap/pass2.c
compiler/bootstrap/libec/bootstrap/pass3.c
compiler/bootstrap/libec/bootstrap/shortcuts.c
compiler/bootstrap/libec/bootstrap/type.c
compiler/libec/src/pass2.ec
ecere/src/com/instance.ec
ecere/src/gui/Window.ec
ecere/src/gui/controls/DataBox.ec
ecere/src/gui/controls/DropBox.ec
ecere/src/gui/controls/ToolTip.ec
ide/src/ProjectSettings.ec
ide/src/designer/CodeEditor.ec
ide/src/designer/Sheet.ec