kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

build_host_stub.c (443B)


      1 #include "env_build.h"
      2 
      3 #include <string.h>
      4 
      5 int driver_build_host_init(DriverBuildHost* out, DriverEnv* env) {
      6   if (out) memset(out, 0, sizeof *out);
      7   (void)env;
      8   return 1;
      9 }
     10 
     11 void driver_build_host_fini(DriverBuildHost* host) { (void)host; }
     12 
     13 char* driver_build_host_abs_path(DriverEnv* env, const char* path,
     14                                  size_t* out_size) {
     15   (void)env;
     16   (void)path;
     17   if (out_size) *out_size = 0;
     18   return NULL;
     19 }