#include #include "gst_bus.h" struct bus_st { int valeur; }; bus_st bus_init (void) { bus_st bus = (bus_st) malloc (sizeof (struct bus_st)); assert (bus != NULL); bus->valeur = 0; return bus; } int* bus_valeur (bus_st bus) { return &bus->valeur; } void bus_libere (bus_st bus) { free (bus); }