src/Cedar/SW.c
// Create new item in the SFX compression list

Create new item in the SFX compression list
Create new item in the SFX compression list
SW_SFX_FILE* SwNewSfxFile(char* inner_file_name, wchar_t* disk_file_name)
{
	SW_SFX_FILE* f = ZeroMalloc(sizeof(SW_SFX_FILE));
	StrCpy(f->InnerFileName, sizeof(f->InnerFileName), inner_file_name);
	UniStrCpy(f->DiskFileName, sizeof(f->DiskFileName), disk_file_name);
	return f;
}
SW_SFX_FILE * SwNewSfxFile ( char * inner_file_name , wchar_t * disk_file_name ) { SW_SFX_FILE * f = ZeroMalloc ( sizeof ( SW_SFX_FILE ) ) ; StrCpy ( f -> InnerFileName , sizeof ( f -> InnerFileName ) , inner_file_name ) ; UniStrCpy ( f -> DiskFileName , sizeof ( f -> DiskFileName ) , disk_file_name ) ; return f ; }
Create new item in the SFX compression list
Create new item in the SFX compression list