From 2b40dfc84dfbec136a50fb52ac9a22753f38db8e Mon Sep 17 00:00:00 2001 From: Micah Kornfield Date: Mon, 28 Jan 2019 21:32:59 -0800 Subject: [PATCH 1/3] Document extra parameters to fix build --- cpp/src/arrow/compute/kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/src/arrow/compute/kernel.h b/cpp/src/arrow/compute/kernel.h index bf6a54682511..5356f1cdc2d8 100644 --- a/cpp/src/arrow/compute/kernel.h +++ b/cpp/src/arrow/compute/kernel.h @@ -162,6 +162,8 @@ class ARROW_EXPORT UnaryKernel : public OpKernel { public: /// \brief Executes the kernel. /// + /// \param[in,out] ctx The FunctionContext to use in th kernel. + /// \param[in] input The input to process. /// \param[out] out The output of the function. Each implementation of this /// function might assume different things about the existing contents of out /// (e.g. which buffers are preallocated). In the future it is expected that From 18450c2e963f96d7ca562b724989074555996c8a Mon Sep 17 00:00:00 2001 From: Micah Kornfield Date: Mon, 28 Jan 2019 21:57:15 -0800 Subject: [PATCH 2/3] Fix documentation on util-internal as well --- cpp/src/arrow/compute/kernels/util-internal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpp/src/arrow/compute/kernels/util-internal.h b/cpp/src/arrow/compute/kernels/util-internal.h index 2dd8c0288a7e..3e00089f7ecd 100644 --- a/cpp/src/arrow/compute/kernels/util-internal.h +++ b/cpp/src/arrow/compute/kernels/util-internal.h @@ -46,6 +46,9 @@ namespace detail { /// \brief Invoke the kernel on value using the ctx and store results in outputs. /// +/// \param[in,out] ctx The function context to use when invoking the kernel. +/// \param[in,out] kernel The kernel to execute. +/// \param[in] value The input value to execute the kernel with. /// \param[out] outputs One ArrayData datum for each ArrayData available in value. ARROW_EXPORT Status InvokeUnaryArrayKernel(FunctionContext* ctx, UnaryKernel* kernel, From d163bf012d8f044995a04934d73d4555a5cf5c38 Mon Sep 17 00:00:00 2001 From: Micah Kornfield Date: Mon, 28 Jan 2019 22:11:02 -0800 Subject: [PATCH 3/3] remove trailing whitespace --- cpp/src/arrow/compute/kernels/util-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/compute/kernels/util-internal.h b/cpp/src/arrow/compute/kernels/util-internal.h index 3e00089f7ecd..22520235a524 100644 --- a/cpp/src/arrow/compute/kernels/util-internal.h +++ b/cpp/src/arrow/compute/kernels/util-internal.h @@ -46,7 +46,7 @@ namespace detail { /// \brief Invoke the kernel on value using the ctx and store results in outputs. /// -/// \param[in,out] ctx The function context to use when invoking the kernel. +/// \param[in,out] ctx The function context to use when invoking the kernel. /// \param[in,out] kernel The kernel to execute. /// \param[in] value The input value to execute the kernel with. /// \param[out] outputs One ArrayData datum for each ArrayData available in value.