// ---- auto generated by YInG - the YAC interface generator (Thu, 3/Jan/2019 12:08:42)
#ifndef __YAC__fileutils_h__
#define __YAC__fileutils_h__


void YAC_CALL YAC_Init_fileutils(YAC_Host *_host) {
	// --------------------------------- classes ---------------------------------
	// -------------------------------- functions --------------------------------
	static const sUI   __APIC__tkfileutils_read_directory_arg_types[]={3,};
	static const sUI   __APIC__tkfileutils_getcwd_arg_types       []={0,};
	static const sUI   __APIC__tkfileutils_setcwd_arg_types       []={3,};
	static const sUI   __APIC__tkfileutils_mkdir_arg_types        []={3,};
	static const sUI   __APIC__tkfileutils_rm_arg_types           []={3,};
	static const char *__APIC__tkfileutils_read_directory_arg_otypes[]={"YAC_String",};
	static const char *__APIC__tkfileutils_getcwd_arg_otypes      []={0,};
	static const char *__APIC__tkfileutils_setcwd_arg_otypes      []={"YAC_String",};
	static const char *__APIC__tkfileutils_mkdir_arg_otypes       []={"YAC_String",};
	static const char *__APIC__tkfileutils_rm_arg_otypes          []={"YAC_String",};
	_host->yacRegisterFunction((void*)__APIC__tkfileutils_read_directory, "tkfileutils_read_directory", 4, "", 1, __APIC__tkfileutils_read_directory_arg_types, __APIC__tkfileutils_read_directory_arg_otypes, 4);
	_host->yacRegisterFunction((void*)__APIC__tkfileutils_getcwd, "tkfileutils_getcwd", 4, "", 0, __APIC__tkfileutils_getcwd_arg_types, __APIC__tkfileutils_getcwd_arg_otypes, 5);
	_host->yacRegisterFunction((void*)__APIC__tkfileutils_setcwd, "tkfileutils_setcwd", 1, "", 1, __APIC__tkfileutils_setcwd_arg_types, __APIC__tkfileutils_setcwd_arg_otypes, 1);
	_host->yacRegisterFunction((void*)__APIC__tkfileutils_mkdir, "tkfileutils_mkdir", 1, "", 1, __APIC__tkfileutils_mkdir_arg_types, __APIC__tkfileutils_mkdir_arg_otypes, 1);
	_host->yacRegisterFunction((void*)__APIC__tkfileutils_rm, "tkfileutils_rm", 1, "", 1, __APIC__tkfileutils_rm_arg_types, __APIC__tkfileutils_rm_arg_otypes, 1);

}
void  YAC_CALL __APIC__tkfileutils_read_directory(yacmemptr _args, YAC_Value *_r) {if(YAC_BCHK(_args.mem[0].o, YAC_CLID_STRING)){ tkfileutils_read_directory((YAC_String*)_args.mem[0].o, _r);}}
void  YAC_CALL __APIC__tkfileutils_getcwd(YAC_Value *_r                      ) {tkfileutils_getcwd(_r);}
sSI   YAC_CALL __APIC__tkfileutils_setcwd(yacmemptr _args                    ) {if(YAC_BCHK(_args.mem[0].o, YAC_CLID_STRING)){ return (sSI)tkfileutils_setcwd((YAC_String*)_args.mem[0].o);}return 0;}
sSI   YAC_CALL __APIC__tkfileutils_mkdir(yacmemptr _args                     ) {if(YAC_BCHK(_args.mem[0].o, YAC_CLID_STRING)){ return (sSI)tkfileutils_mkdir((YAC_String*)_args.mem[0].o);}return 0;}
sSI   YAC_CALL __APIC__tkfileutils_rm(yacmemptr _args                        ) {if(YAC_BCHK(_args.mem[0].o, YAC_CLID_STRING)){ return (sSI)tkfileutils_rm((YAC_String*)_args.mem[0].o);}return 0;}

void YAC_CALL YAC_Exit_fileutils(YAC_Host *_host) {
}

#endif
