Blender Git Loki

Git Commits -> Revision 2205d28

Revision 2205d28 by Lukas Toenne (object_nodes, strand_nodes)
April 7, 2016, 15:54 (GMT)
Use annotation attributes on module functions to avoid name mangling issues.

Names in C++ code tend to get mangled by the clang compiler according to the
respective target ABI. This is unfortunate because it makes it difficult to
map functions to nodes by name. For now we use a function attribute in the module
C++ code to pass on the "true" name of the function and map them internally.

Commit Details:

Full Hash: 2205d2870d8484573554eb0b317b83a1888de673
Parent Commit: 3c30c96
Lines Changed: +32, -40

4 Modified Paths:

/source/blender/blenvm/llvm/llvm_codegen.cc (+3, -5) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+14, -20) (Diff)
/source/blender/blenvm/modules/mod_value.cc (+10, -10) (Diff)
/source/blender/blenvm/modules/mod_value.h (+5, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021