[libc] Expose APIGenerator.