Blender Git Commit Log

Git Commits -> Revision 2556262

Revision 2556262 by Lukas Toenne (object_nodes, strand_nodes)
May 10, 2016, 09:14 (GMT)
Implemented external C function linking and change of function signature convention.

The general signature layout for node functions is

void foobar(out1_t *out1, out2_t *out2, ..., in1_t in1, in2_t in2, ...);

All outputs are passed as pointers or references (using references in C code for clarity).
Inputs can be passed by-value or as const pointers/references (for structs and arrays).

In the future we may also support single value return types for convenience.

Commit Details:

Full Hash: 2556262f6c9da7f09acddfa37811d7524f4831c2
Parent Commit: b220c9e
Lines Changed: +363, -124

1 Added Path:

/source/blender/blenvm/modules/mod_defines.h (+41, -0) (View)

12 Modified Paths:

/source/blender/blenvm/intern/bvm_api.cc (+10, -10) (Diff)
/source/blender/blenvm/llvm/CMakeLists.txt (+20, -11) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.cc (+93, -49) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.h (+0, -1) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+1, -0) (Diff)
/source/blender/blenvm/llvm/llvm_modules.cc (+96, -0) (Diff)
/source/blender/blenvm/llvm/llvm_modules.h (+2, -0) (Diff)
/source/blender/blenvm/llvm/llvm_types.cc (+64, -33) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+7, -6) (Diff)
/source/blender/blenvm/modules/mod_color.h (+9, -4) (Diff)
/source/blender/blenvm/modules/mod_math.h (+4, -0) (Diff)
/source/blender/blenvm/modules/mod_value.h (+16, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021