You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
367 B
23 lines
367 B
// copy().
|
|
|
|
// General includes.
|
|
#include "cl_sysdep.h"
|
|
|
|
// Specification.
|
|
#define CL_GV_NO_RANGECHECKS
|
|
#include "cln/GV_number.h"
|
|
|
|
|
|
// Implementation.
|
|
|
|
namespace cln {
|
|
|
|
const cl_GV_number copy (const cl_GV_number& v)
|
|
{
|
|
var uintL len = v.length();
|
|
var cl_GV_number w = cl_GV_number(len);
|
|
cl_GV_number::copy_elements(v,0,w,0,len);
|
|
return w;
|
|
}
|
|
|
|
} // namespace cln
|