From 947f52d779db20c9690b58c8bda4e38fa73712e2 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Mon, 27 Nov 2023 17:51:11 -0500 Subject: [PATCH] fastrpc: README: clarify REMOTE_SCALARS_MAKE This macro is used to generate the 32-bit remote "scalars"/"sc" argument. Correct the name and link to the definition. --- fastrpc/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fastrpc/README.md b/fastrpc/README.md index 41d2596..398f6f8 100644 --- a/fastrpc/README.md +++ b/fastrpc/README.md @@ -55,8 +55,9 @@ first write a function definition for it. A function definition is a struct with information on its method ID and the arguments it accepts. First, the method ID is taken from the first argument of the -`REMOTE_METHOD_MAKE()` macro or the second argument of the -`REMOTE_METHOD_MAKEX()` macro. +`REMOTE_SCALARS_MAKE()` macro or the second argument of the +`REMOTE_SCALARS_MAKEX()` macro +(defined [here](https://android.googlesource.com/platform/external/fastrpc/+/d6d6e3bba244e40e6043bd687f4cacf090a767b5/inc/remote.h#80)). Example: