2020-07-04 | Paul Boddie | raw annotate files changeset graph | An experiment with "synchronous" completions exposing completion functions to send replies back to the caller. Where outputs are involved, client and server interfaces diverge, and this has not yet been satisfactorily handled. | completion-sync |
1 define server_interface_c_template = 2 $(1)_SERVER = $(call interfaces_to_server_c_h,$(1)) 3 $(1)_SERVER_IDL = $(call interfaces_to_idl,$(1)) 4 5 # Reference interfaces if exported. 6 7 ifdef IDL_EXPORT_DIR 8 $(1)_SERVER_INC = $(call export_includes,$(call interfaces_to_interface_h,$(1))) 9 endif 10 11 $$($(1)_SERVER): $$($(1)_SERVER_IDL) $$($(1)_SERVER_INC) 12 $(IDL_PROG) -d $(IDL_BUILD_DIR) --server --headers --routines --language=c $$($(1)_SERVER_IDL) 13 endef