public class CppFunction<R> extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
functionName |
Class<R> |
returnType |
| Modifier and Type | Method and Description |
|---|---|
static CppFunction<Object> |
of(String functionName)
Create a cpp function.
|
static <R> CppFunction<R> |
of(String functionName,
Class<R> returnType)
Create a cpp function.
|
public final String functionName
public static CppFunction<Object> of(String functionName)
functionName - The name of this functionpublic static <R> CppFunction<R> of(String functionName, Class<R> returnType)
R - Type of the return value of this functionfunctionName - The name of this functionreturnType - Class of the return value of this functionCopyright © 2023. All rights reserved.