summaryrefslogtreecommitdiffstats
path: root/base/bind_internal_win.h.pump
diff options
context:
space:
mode:
Diffstat (limited to 'base/bind_internal_win.h.pump')
-rw-r--r--base/bind_internal_win.h.pump20
1 files changed, 20 insertions, 0 deletions
diff --git a/base/bind_internal_win.h.pump b/base/bind_internal_win.h.pump
index 4d213a3..06ceaca 100644
--- a/base/bind_internal_win.h.pump
+++ b/base/bind_internal_win.h.pump
@@ -34,6 +34,16 @@ $if ARITY > 0[[, ]] $for ARG , [[typename X$(ARG)]]>
struct FunctionTraits<R(__stdcall *)($for ARG , [[X$(ARG)]])> {
typedef R (*NormalizedSig)($for ARG , [[X$(ARG)]]);
typedef false_type IsMethod;
+
+$if ARITY > 0 [[
+
+ // Target type for each bound parameter.
+
+$for ARG [[
+ typedef X$(ARG) B$(ARG);
+
+]] $$ for ARG
+]] $$ if ARITY > 0
};
// __fastcall Function: Arity $(ARITY).
@@ -42,6 +52,16 @@ $if ARITY > 0[[, ]] $for ARG , [[typename X$(ARG)]]>
struct FunctionTraits<R(__fastcall *)($for ARG , [[X$(ARG)]])> {
typedef R (*NormalizedSig)($for ARG , [[X$(ARG)]]);
typedef false_type IsMethod;
+
+$if ARITY > 0 [[
+
+ // Target type for each bound parameter.
+
+$for ARG [[
+ typedef X$(ARG) B$(ARG);
+
+]] $$ for ARG
+]] $$ if ARITY > 0
};
]] $$for ARITY