MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / add_coins

Function add_coins

samples/shared/lodepng.cpp:690–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690static void add_coins(Coin* c1, const Coin* c2)
691{
692 size_t i;
693 for(i = 0; i < c2->symbols.size; i++) uivector_push_back(&c1->symbols, c2->symbols.data[i]);
694 c1->weight += c2->weight;
695}
696
697static void init_coins(Coin* coins, size_t num)
698{

Callers 1

Calls 1

uivector_push_backFunction · 0.85

Tested by

no test coverage detected