Check-in [175cec980d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:removed old todo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:175cec980d9ed502eaa881ee8363cbdab0010b071b6a2ec30d025203ba7af27a
User & Date: grable 2018-11-01 04:39:56
Context
2018-11-01
04:53
fixed prepare_call() and cb_callback() not counting return pointers correctly check-in: e3d41fdce5 user: grable tags: trunk
04:39
removed old todo check-in: 175cec980d user: grable tags: trunk
04:38
cleanup wrap/unwrap macros check-in: f53309743a user: grable tags: trunk
Changes

Changes to jimff-commands.c.

760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
err_too_many_args:
	Jim_SetResultFormatted( interp, "%#s: there are more arguments than elements in the typetag", argv0);
	return JIM_ERR;

#undef GET_ELEM
}

//TODO: rework wrap command the same way as the new unwrap command, with array support.
static int fn_pointer_wrap( Jim_Interp* interp, int argc, Jim_Obj* const argv[]) {
	Jim_Obj* argv0 = argv[0];
	struct jimff_context* ctx = Jim_CmdPrivData(interp);
	int packed = 0;
	void* ptr;
	int size;
	int len;







<







760
761
762
763
764
765
766

767
768
769
770
771
772
773
err_too_many_args:
	Jim_SetResultFormatted( interp, "%#s: there are more arguments than elements in the typetag", argv0);
	return JIM_ERR;

#undef GET_ELEM
}


static int fn_pointer_wrap( Jim_Interp* interp, int argc, Jim_Obj* const argv[]) {
	Jim_Obj* argv0 = argv[0];
	struct jimff_context* ctx = Jim_CmdPrivData(interp);
	int packed = 0;
	void* ptr;
	int size;
	int len;