[Bf-blender-cvs] [178d41c2506] functions: fix

Jacques Lucke noreply at git.blender.org
Sun Feb 10 20:24:58 CET 2019


Commit: 178d41c2506c59853b7077f665fe0529798b9ed7
Author: Jacques Lucke
Date:   Tue Jan 22 16:46:47 2019 +0100
Branches: functions
https://developer.blender.org/rB178d41c2506c59853b7077f665fe0529798b9ed7

fix

===================================================================

M	source/blender/functions/FN_functions.h

===================================================================

diff --git a/source/blender/functions/FN_functions.h b/source/blender/functions/FN_functions.h
index 37908ddc785..01f0974ac68 100644
--- a/source/blender/functions/FN_functions.h
+++ b/source/blender/functions/FN_functions.h
@@ -38,10 +38,10 @@ FnInputsRef FN_inputs_new(FunctionRef fn);
 void FN_inputs_free(FnInputsRef fn_in);
 
 /* Set a funtion input by name. Returns true on success. */
-bool FN_inputs_set_name(FnInputsRef fn_in, const char *name, void *value);
+bool FN_inputs_set_name(FnInputsRef fn_in, const char *name, void *src);
 
 /* Set a function input by index. Returns true on success. */
-void FN_inputs_set_index(FnInputsRef fn_in, uint index, void *value);
+void FN_inputs_set_index(FnInputsRef fn_in, uint index, void *src);
 
 
 /* Create a container to store function outputs. */
@@ -51,10 +51,10 @@ FnOutputsRef FN_outputs_new(FunctionRef fn);
 void FN_outputs_free(FnOutputsRef fn_out);
 
 /* Extract the result of an executed function by name. */
-void *FN_outputs_get_name(FnOutputsRef fn_out, const char *name);
+void FN_outputs_get_name(FnOutputsRef fn_out, const char *name, void *dst);
 
 /* Extract the result of an executed function by index. */
-void *FN_outputs_get_index(FnOutputsRef fn_out, const char *name);
+void FN_outputs_get_index(FnOutputsRef fn_out, uint index, void *dst);
 
 const char *FN_type_name(FnTypeRef type);



More information about the Bf-blender-cvs mailing list