This repository contains a simple implemntation of a trait-like abstraction in C.
The code is meant to be self contained and simple, not production at all. This is just an exploration and example for learning.
The code can be compiled manually:
gcc alloc.c -o alloc
gcc iter.c -o iter
gcc scan.c -o scan
See my blog post on itscomputersciencetime for more project details, and see the code for the implementation details.