summaryrefslogtreecommitdiff
path: root/gawkapi.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-07-20 12:00:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-07-20 12:00:31 +0300
commit50831fa7f402480d83d5e3647d09acdad7cd0eeb (patch)
treec046caf1aff844f764da81f8544805f275859828 /gawkapi.h
parent2abd3979c829934905f5a84dd2f5836b1d8eec37 (diff)
downloadgawk-50831fa7f402480d83d5e3647d09acdad7cd0eeb.tar.gz
Update doc in header. Redo update_scalar.
Diffstat (limited to 'gawkapi.h')
-rw-r--r--gawkapi.h39
1 files changed, 22 insertions, 17 deletions
diff --git a/gawkapi.h b/gawkapi.h
index 29631cdd..5cc8fc10 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -232,23 +232,28 @@ typedef struct gawk_api {
Table entry is type returned:
- +---------------------------------------------------+
- | Type Requested: |
- +----------+----------+-------+---------+-----------+
- | String | Number | Array | Scalar | Undefined |
- +---------+-----------+----------+----------+-------+---------+-----------+
- | Type | String | String | Number if| false | Scalar | String |
- | | | | it can be| | | |
- | | | |converted,| | | |
- | | | | else | | | |
- | | | | false | | | |
- | of +-----------+----------+----------+-------+---------+-----------+
- | Actual | Number | String | Number | false | Scalar | Number |
- | Value: +-----------+----------+----------+-------+---------+-----------+
- | | Array | false | false | Array | false | Array |
- | +-----------+----------+----------+-------+---------+-----------+
- | | Undefined | false | false | false | false | Undefined |
- +---------+-----------+----------+----------+-------+---------+-----------+
+
+ +-------------------------------------------------+
+ | Type of Actual Value: |
+ +------------+------------+-----------+-----------+
+ | String | Number | Array | Undefined |
+ +-----------+-----------+------------+------------+-----------+-----------+
+ | | String | String | String | false | false |
+ | |-----------+------------+------------+-----------+-----------+
+ | | Number | Number if | Number | false | false |
+ | | | can be | | | |
+ | | | converted, | | | |
+ | | | else false | | | |
+ | |-----------+------------+------------+-----------+-----------+
+ | Type | Array | false | false | Array | false |
+ | Requested |-----------+------------+------------+-----------+-----------+
+ | | Scalar | Scalar | Scalar | false | false |
+ | |-----------+------------+------------+-----------+-----------+
+ | | Undefined | String | Number | Array | Undefined |
+ | |-----------+------------+------------+-----------+-----------+
+ | | Value | false | false | false | false |
+ | | Cookie | | | | |
+ +-----------+-----------+------------+------------+-----------+-----------+
*/
/*