search for: othernamespace

Displaying 3 results from an estimated 3 matches for "othernamespace".

2008 Feb 22
2
[LLVMdev] Calling functions
...BB ); I can make some calls to functions like glclear() as I'm using opengl: ... Function *F = new Function( FT, Function::ExternalLinkage, "glclear", M ); ... But if I want to call any function inside a C++ namespace I don't find the way to do it. Imagine you want to call othernamespace::globalFunction() How should I do it? I've tried all the linkage types, but it's clear that's not the solution. And another question: is it possible to call a function of an instance of a C++ class? Which are the limits of interaction between generated code and "precompiled"...
2008 Feb 25
0
[LLVMdev] Calling functions
...trying LLVM for generating code and I found something I cannot > figure out or find in the documentation: > > But if I want to call any function inside a C++ namespace I don't > find the way to do it. Imagine you want to call > > othernamespace::globalFunction() > > How should I do it? > I've tried all the linkage types, but it's clear that's not the > solution. Hi Álvaro, Google for C++ name mangling to understand why what you're attempting doesn't work. Looking at th...
2008 Feb 25
0
[LLVMdev] Calling functions
...s I'm using opengl: | ... | Function *F = new Function( FT, Function::ExternalLinkage, "glclear", M ); | ... | | But if I want to call any function inside a C++ namespace I don't find the way to do it. Imagine you want to call | | othernamespace::globalFunction() See this older message: http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-December/011616.html ************************* It seems that the previous message was sent with some corruption, sorry for it. It it happens again I'll use another e-mail. Thanks for yo...