C#C
C#3y ago
Theos

❔ LLVMSharp weird function

Hey, so I'm trynig to convert my class into a LLVM const.
I have a class callled NumberAST:
class NumberAST
{
  public NumberType type = NumberType.Int64;
  public string value = "100000";
}

And I was wondering how to convert it into llvm const.
I found this thingy LLVMValueRef.CreateConstIntOfString() but I can't find it in the docs so i'm not sure how to use it
Was this page helpful?