|
|
|
|
|
by miuramxciii
906 days ago
|
|
Yes, You can. The entire Linux device interface, to name just one example, if full of interfaces. The way to accomplish this is via pointer to functions, and to have it as an object, have these pointer to functions grouped in a struct.
GTK/Glib is notably full of these interfaces too. |
|
https://www.kernel.org/doc/html/v4.14/sound/kernel-api/alsa-...