Goose  Artifact [509532161c]

Artifact 509532161cc5786e350fa4fd1c8e431b2d73cfa574e44c0462db1cbf890fa377:

  • File bs/builtins/api/api.h — part of check-in [429f55ae3c] at 2019-07-09 22:46:58 on branch trunk — codegen: added builtin functions to create a module and to dump it as llvm assembly text. (user: achavasse size: 371)

#ifndef EMPATHY_BUILTINS_API_H
#define EMPATHY_BUILTINS_API_H

#include "codegen/codegen.h"

namespace empathy::builtins
{
    extern void SetupApiString( Env& e );
    extern void SetupApiCompiler( Env& e );

    static inline void SetupBuiltinApi( Env& e )
    {
        SetupApiString( e );
        SetupApiCompiler( e );
        SetupApiCodeGen( e );
    }
}

#endif