diff --git a/benchmark/function_args.cc b/benchmark/function_args.cc index 15c6de6..7dcc7c7 100644 --- a/benchmark/function_args.cc +++ b/benchmark/function_args.cc @@ -139,6 +139,14 @@ static Napi::Object Init(Napi::Env env, Napi::Object exports) { cplusplus["fourArgFunction"] = Napi::Function::New(env, FourArgFunction); exports["cplusplus"] = cplusplus; + Napi::Object templated = Napi::Object::New(env); + templated["noArgFunction"] = Napi::Function::New(env); + templated["oneArgFunction"] = Napi::Function::New(env); + templated["twoArgFunction"] = Napi::Function::New(env); + templated["threeArgFunction"] = Napi::Function::New(env); + templated["fourArgFunction"] = Napi::Function::New(env); + exports["templated"] = templated; + return exports; }