Back to index

php5  5.3.10
Functions
debug.c File Reference
#include <config.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
#include "bcmath.h"
#include "private.h"

Go to the source code of this file.

Functions

static void out_char (int c)
void pn (bc_num num TSRMLS_DC)
void pv (char *name, unsigned char *num, int len)

Function Documentation

static void out_char ( int  c) [static]

Definition at line 44 of file debug.c.

{
  putchar(c);
}

Here is the caller graph for this function:

void pn ( bc_num num  TSRMLS_DC)

Definition at line 51 of file debug.c.

{
  bc_out_num (num, 10, out_char, 0 TSRMLS_CC);
  out_char ('\n');
}

Here is the call graph for this function:

Here is the caller graph for this function:

void pv ( char *  name,
unsigned char *  num,
int  len 
)

Definition at line 60 of file debug.c.

{
  int i;
  printf ("%s=", name);
  for (i=0; i<len; i++) printf ("%c",BCD_CHAR(num[i]));
  printf ("\n");
}

Here is the caller graph for this function: