 VALUE index)
{
    CodeCompleteResults_t *c;
    Data_Get_Struct(self, CodeCompleteResults_t, c);
    unsigned i = NUM2UINT(index);

    if (i &lt; 0 || i &gt; c-&gt;data-&gt;NumResults) return Qnil;

    VALUE result;
    CompletionResult_t *cr;
    R_GET_CLASS_DATA(&quot;Clangc&quot;, CompletionResult, result, cr);
    cr-&gt;data = &amp;(c-&gt;data-&gt;Results[i]);
    cr-&gt;parent = self;

    return result;
}</pre>
          </div>
          
        </div>

        

        
      </div>

    
    