summaryrefslogtreecommitdiff
path: root/ext/dbase
diff options
context:
space:
mode:
authorZak Greant <zak@php.net>2003-07-16 11:08:03 +0000
committerZak Greant <zak@php.net>2003-07-16 11:08:03 +0000
commit8178d87d25adb2121043a510843717bb3d89ceda (patch)
tree8f574e923d193032357735c9899ba6dd71abfd62 /ext/dbase
parentaa9bde9a34fd62a2a5a7d042979666149794f9f2 (diff)
downloadphp-git-8178d87d25adb2121043a510843717bb3d89ceda.tar.gz
Created shorter/sensible key names for dbase_get_header_info
* 'decimal places' becomes 'precision' * 'printf format' becomes 'format' * 'record offset' becomes 'offset' BTW No docs have been committed for this function yet, nor is it part of any release. This change should affect no users.
Diffstat (limited to 'ext/dbase')
-rw-r--r--ext/dbase/dbase.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c
index 4874eff26f..db1238544a 100644
--- a/ext/dbase/dbase.c
+++ b/ext/dbase/dbase.c
@@ -793,13 +793,13 @@ PHP_FUNCTION(dbase_get_header_info)
add_assoc_long(row, "length", cur_f->db_flen);
/* number of decimals in field */
- add_assoc_long(row, "decimal places", cur_f->db_fdc);
+ add_assoc_long(row, "precision", cur_f->db_fdc);
/* format for printing %s etc */
- add_assoc_string(row, "printf format", cur_f->db_format, 1);
+ add_assoc_string(row, "format", cur_f->db_format, 1);
/* offset within record */
- add_assoc_long(row, "record offset", cur_f->db_foffset);
+ add_assoc_long(row, "offset", cur_f->db_foffset);
}
}
/* }}} */