Replies: 4 comments
-
I think you are almost done. 1, 3. please see "https://llvm.moe/ocaml/Llvm.html" |
Beta Was this translation helpful? Give feedback.
-
There is no search result for llm in "https://llvm.moe/ocaml/Llvm.html". Is llm same with llmodule? There is also no search result for llctx. Is llctx same with llcontext? Also in the link, it lacks of detail explanation and says like "See the llvm::Module class.". |
Beta Was this translation helpful? Give feedback.
-
Yes. llm and llctx are variable name of llmodule and llcontext. I forgot to explain it. I'm sorry for that. |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can you please give us a hint about how to use declare_function? or at least example code? I don't know how to define function_type.
How does the declare_function work? Does it in some way automatically finds external c function?
What is llctx, and what is llm? What are the type of them?
In Ocaml, how can we make a single function to do two things?
Beta Was this translation helpful? Give feedback.
All reactions