MCPcopy Create free account
hub / github.com/boostorg/build / builtin_instance

Function builtin_instance

src/engine/builtins.cpp:1561–1570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1559
1560
1561LIST * builtin_instance( FRAME * frame, int flags )
1562{
1563 LIST * arg1 = lol_get( frame->args, 0 );
1564 LIST * arg2 = lol_get( frame->args, 1 );
1565 module_t * const instance = bindmodule( list_front( arg1 ) );
1566 module_t * const class_module = bindmodule( list_front( arg2 ) );
1567 instance->class_module = class_module;
1568 module_set_fixed_variables( instance, class_module->num_fixed_variables );
1569 return L0;
1570}
1571
1572
1573LIST * builtin_sort( FRAME * frame, int flags )

Callers

nothing calls this directly

Calls 3

lol_getFunction · 0.85
bindmoduleFunction · 0.85

Tested by

no test coverage detected