fo() - var 'this' = no code completion.
bar() - var 'self' = code completion work good.
Why?
#include <stdio.h>
#include <stdlib.h>
typedef struct
{
int one;
int two;
} cc_t;
void fo(cc_t *this)
{
this->one = 1; // No code completion.
this->two = 2; // No code completion.
}
void bar(cc_t *self)
{
self->one = 1; // Code completion work.
self->two = 2; // Code completion work.
}
int main()
{
printf("Hello world!\n");
return 0;
}