leankg 0.20.3

Lightweight Knowledge Graph for AI-Assisted Development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include "calc.h"

struct Calculator {
    int total;
};

int add(int a, int b) {
    return a + b;
}

int main(void) {
    struct Calculator c = {0};
    c.total = add(1, 2);
    printf("%d\n", c.total);
    return 0;
}