mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
deps: V8: forward declaration of Rtl*FunctionTable
This should be semver-patch since actual invocation is version conditional. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
dc21daa4c6
commit
3c3a70dc5f
2 files changed
+31
-1
No files matched your search
+1
-1
@@ -36,7 +36,7 @@
|
||||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
# Increment by one for each non-official patch applied to deps/v8.
|
||||
'v8_embedder_string': '-node.2',
|
||||
'v8_embedder_string': '-node.3',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
+30
@@ -22,6 +22,36 @@
|
||||
// This has to come after windows.h.
|
||||
#include <versionhelpers.h> // For IsWindows8OrGreater().
|
||||
|
||||
// Forward declaration to keep this independent of Win8
|
||||
NTSYSAPI
|
||||
DWORD
|
||||
NTAPI
|
||||
RtlAddGrowableFunctionTable(
|
||||
_Out_ PVOID* DynamicTable,
|
||||
_In_reads_(MaximumEntryCount) PRUNTIME_FUNCTION FunctionTable,
|
||||
_In_ DWORD EntryCount,
|
||||
_In_ DWORD MaximumEntryCount,
|
||||
_In_ ULONG_PTR RangeBase,
|
||||
_In_ ULONG_PTR RangeEnd
|
||||
);
|
||||
|
||||
|
||||
NTSYSAPI
|
||||
void
|
||||
NTAPI
|
||||
RtlGrowFunctionTable(
|
||||
_Inout_ PVOID DynamicTable,
|
||||
_In_ DWORD NewEntryCount
|
||||
);
|
||||
|
||||
|
||||
NTSYSAPI
|
||||
void
|
||||
NTAPI
|
||||
RtlDeleteGrowableFunctionTable(
|
||||
_In_ PVOID DynamicTable
|
||||
);
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
namespace win64_unwindinfo {
|
||||
|
||||
Reference in new issue
Block a user