MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / make_data

Function make_data

erpcgen/src/cpptemplate/cpptempl.hpp:282–285  ·  view source on GitHub ↗

convenience functions for making data objects

Source from the content-addressed store, hash-verified

280
281// convenience functions for making data objects
282inline data_ptr make_data(bool val)
283{
284 return data_ptr(new DataBool(val));
285}
286inline data_ptr make_data(int val)
287{
288 return data_ptr(new DataInt(val));

Callers 10

getTypeInfoMethod · 0.85
generateEnumFilesMethod · 0.85
generateMethod · 0.85
cpptempl.cppFile · 0.85
build_loop_mapMethod · 0.85
gettextMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

data_ptrClass · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68