File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ typedef struct PKL_EXEC_T {
34
34
/**
35
35
* The callback that gets called when a message is received from Pkl.
36
36
*
37
+ * Messages must be deserialized to Pkl's Message Passing API: https://pkl-lang.org/main/current/bindings-specification/message-passing-api.html
38
+ *
37
39
* @param length The length the message bytes
38
40
* @param message The message itself
39
41
* @param userData User-defined data passed in from pkl_init.
@@ -53,6 +55,8 @@ pkl_exec_t *pkl_init(PklMessageResponseHandler handler, void *userData);
53
55
/**
54
56
* Send a message to Pkl, providing the length and a pointer to the first byte.
55
57
*
58
+ * Messages must be serialized to Pkl's Message Passing API: https://pkl-lang.org/main/current/bindings-specification/message-passing-api.html
59
+ *
56
60
* @param pexec The Pkl executor instance.
57
61
* @param length The length of the message, in bytes.
58
62
* @param message The message to send to Pkl.
You can’t perform that action at this time.
0 commit comments