Ignore:
Timestamp:
Jan 1, 2015, 2:23:50 PM (5 years ago)
Author:
cameron
Message:

Create ability to install arbitrary external functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.h

    r4378 r4382  
    6363    PabloCompiler(const std::vector<Var *> & basisBitVars);
    6464    ~PabloCompiler();
     65    void InstallExternalFunction(std::string C_fn_name, void * fn_ptr);
    6566    LLVM_Gen_RetVal compile(PabloBlock & pb);
    6667private:
     
    131132    unsigned                            mMaxNestingDepth;
    132133
     134    std::map<std::string, void *>       mExternalMap;
    133135    StringToValueMap                    mCalleeMap;
    134136};
Note: See TracChangeset for help on using the changeset viewer.