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

Function builtin_instance

v2/engine/builtins.c:1499–1508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1497
1498
1499LIST * builtin_instance( FRAME * frame, int flags )
1500{
1501 LIST * arg1 = lol_get( frame->args, 0 );
1502 LIST * arg2 = lol_get( frame->args, 1 );
1503 module_t * const instance = bindmodule( list_front( arg1 ) );
1504 module_t * const class_module = bindmodule( list_front( arg2 ) );
1505 instance->class_module = class_module;
1506 module_set_fixed_variables( instance, class_module->num_fixed_variables );
1507 return L0;
1508}
1509
1510
1511LIST * 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