All pastes #253989 Raw Edit

Unnamed

public text v1 · immutable
#253989 ·published 2006-11-21 10:37 UTC
rendered paste body
#ifndef __bint_h__
#  define __bint_h__

#  include <stdio.h>

#  include "ktypes.h"

typedef struct
{
  dword len;
  dword mem;
  word *data;
} bint;

bool bint_create ( bint *, word );
void bint_set ( bint *, word );
dword bint_get ( bint * );
bool bint_copy ( bint *, bint * );
bool bint_destroy ( bint * );
bool bint_reserve ( bint *, dword );
bool bint_mul ( bint *, word );
word bint_div ( bint *, word );
bool bint_print ( FILE *, bint * );

#endif