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

Function lol_build

v2/engine/builtins.c:2005–2026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2003
2004
2005void lol_build( LOL * lol, char const * * elements )
2006{
2007 LIST * l = L0;
2008 lol_init( lol );
2009
2010 while ( elements && *elements )
2011 {
2012 if ( !strcmp( *elements, ":" ) )
2013 {
2014 lol_add( lol, l );
2015 l = L0;
2016 }
2017 else
2018 {
2019 l = list_push_back( l, object_new( *elements ) );
2020 }
2021 ++elements;
2022 }
2023
2024 if ( l != L0 )
2025 lol_add( lol, l );
2026}
2027
2028
2029#ifdef HAVE_PYTHON

Callers

nothing calls this directly

Calls 4

lol_initFunction · 0.85
lol_addFunction · 0.85
list_push_backFunction · 0.85
object_newFunction · 0.85

Tested by

no test coverage detected