//#include <classlib/objstrm.h>
#pragma hdrstop

#include "cryosim.h"

/* CryoSimulation v1.01
 * 
 * Written by:  Chris Studholme
 * Last Update: 28-Oct-1996
 * Copyright:   GPL (http://www.fsf.org/copyleft/gpl.html)
 * Web Site:    http://www.bus.ualberta.ca/cstudhol/msc/
 *
 * This file contains non-portable (bad) things done in cryosim.  This code
 * was written to work with Borland C++ v4.5.
 */

void Solute::ChangeSolution(Solution &ASolution) {
  asm {
    mov eax,ASolution
    mov ebx,this
    mov [ebx].solution,eax
  }
}

void Solute::ChangeProperties(SoluteProperties &AProperties) {
  asm {
    mov eax,AProperties
    mov ebx,this
    mov [ebx].properties,eax
  }
}
