[Local GC] Use standard C++ types (bool) and consistent types (void*) on the interfac...
authorSean Gillespie <sean@swgillespie.me>
Tue, 28 Mar 2017 16:59:04 +0000 (09:59 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2017 16:59:04 +0000 (09:59 -0700)
commitef9c0f3e37ff8d37f9569ad4ed5cffec2168f535
treee5833cb4e8356fda87d8c6c69a5275ef8cd9c080
parent92b80fba4c98a6189c2ac2b682ee771b8c4f61c7
[Local GC] Use standard C++ types (bool) and consistent types (void*) on the interface (dotnet/coreclr#10463)

* [Local GC] BOOL -> bool on IGCHeap

* [Local GC] size_t -> void* on IGCHeap

* [Local GC] Silence warnings by being explicit about BOOl -> bool conversions

* Address code review feedback: FinalizeAppDomain BOOL -> bool

* Fix warnings

* Address code review feedback:
  1) Fix a missed default parameter (FALSE) on a parameter of type bool,
  2) Fix invocations of the diagnostic callbacks to use boolean literals
     instead of TRUE and FALSE,
  3) Fix various invocations of GC interface methods in the VM to use
     boolean literals instead of TRUE and FALSE

* Address code review feedback: fix inconsistency

Commit migrated from https://github.com/dotnet/coreclr/commit/7e4afb4fbf900b789f53ccb816c6ddba7807de68
23 files changed:
src/coreclr/src/gc/gc.cpp
src/coreclr/src/gc/gc.h
src/coreclr/src/gc/gcee.cpp
src/coreclr/src/gc/gcimpl.h
src/coreclr/src/gc/gcinterface.h
src/coreclr/src/gc/gcpriv.h
src/coreclr/src/gc/gcscan.h
src/coreclr/src/gc/objecthandle.cpp
src/coreclr/src/gc/objecthandle.h
src/coreclr/src/gc/sample/gcenv.ee.cpp
src/coreclr/src/inc/profilepriv.h
src/coreclr/src/vm/commemoryfailpoint.cpp
src/coreclr/src/vm/comutilnative.cpp
src/coreclr/src/vm/eventtrace.cpp
src/coreclr/src/vm/finalizerthread.cpp
src/coreclr/src/vm/gcenv.ee.cpp
src/coreclr/src/vm/gcheaputilities.h
src/coreclr/src/vm/gcscan.h [deleted file]
src/coreclr/src/vm/object.cpp
src/coreclr/src/vm/proftoeeinterfaceimpl.cpp
src/coreclr/src/vm/rcwwalker.cpp
src/coreclr/src/vm/threads.cpp
src/coreclr/src/vm/threadsuspend.cpp