Changes To Documentation

Changes to "Documentation" between 2014-06-17 01:05:48 and 2014-06-17 01:06:55

    10     10   Synopsis:
    11     11   
    12     12     1.  `tcc4tcl::cproc <procName> <argList> <returnType> <code>`
    13     13       1. `<procName>` is the name of the Tcl procedure to create
    14     14       1. `<argList>` is a list of arguments and their types for the C function;
    15     15         1. The list is in the format of: type1 name1 type2 name2 ... typeN nameN
    16     16         1. The supported types are:
    17         -        1. Tcl_Interp*
    18         -        1. int
    19         -        1. long
    20         -        1. float
    21         -        1. double
    22         -        1. char*
    23         -        1. Tcl_Obj*
    24         -        1. void*
           17  +         1. Tcl_Interp*
           18  +         1. int
           19  +         1. long
           20  +         1. float
           21  +         1. double
           22  +         1. char*
           23  +         1. Tcl_Obj*
           24  +         1. void*
    25     25       1. `<returnType>` is the return type for the C function
    26     26         1. The supported types are:
    27         -        1. void: No return value
    28         -        1. ok: Return TCL\_OK or TCL_ERROR
    29         -        1. int
    30         -        1. long
    31         -        1. float
    32         -        1. double
    33         -        1. char*: TCL_STATIC string (immutable from C)
    34         -        1. string, dstring: TCL_DYNAMIC string (mutable from C)
    35         -        1. vstring: TCL_VOLATILE string (mutable from C)
    36         -        1. default: Tcl_Obj*, a Tcl Object
           27  +         1. void: No return value
           28  +         1. ok: Return TCL\_OK or TCL_ERROR
           29  +         1. int
           30  +         1. long
           31  +         1. float
           32  +         1. double
           33  +         1. char*: TCL_STATIC string (immutable from C)
           34  +         1. string, dstring: TCL_DYNAMIC string (mutable from C)
           35  +         1. vstring: TCL_VOLATILE string (mutable from C)
           36  +         1. default: Tcl_Obj*, a Tcl Object
    37     37       1. `<code>` is the C code that comprises the function
    38     38   
    39     39   Example:
    40     40   
    41     41     1.  `tcc4tcl::cproc add {int a int b} { return(a+b); }`
    42     42   
    43     43   
    44     44   tcc4tcl::ccode
    45     45   --------------
    46     46   
    47     47   tcc4tcl::cdata
    48     48   --------------