Unified · Split
| @@ -801,6 +801,17 @@ stack, which allows it to be stored in a register. · 800 unmodified lines | ||
| 801 | 801 | * Tables |
| 802 | 802 | A small abstraction for dealing with tables that are managed |
| 803 | 803 | by patchwerk. |
| 804 | +** TODO Table Struct | |
| 805 | +a struct called =sk_table=. Contains a =SKFLT= array and | |
| 806 | +it's size. | |
| 807 | +** TODO Creating a New Table | |
| 808 | +Called =sk_core_table_new=. Allocates a new table and wraps | |
| 809 | +it around a patchwerk pointer. This table will be | |
| 810 | +automatically freed when the patch is freed. | |
| 811 | +** TODO Getting Table Data and Size | |
| 812 | +Getter functions =sk_table_size= and =sk_table_data=. | |
| 813 | +** TODO Pushing/Popping Table | |
| 814 | +=sk_core_pop_table= and =sk_core_push_table=. | |
| 804 | 815 | * Error Checking |
| 805 | 816 | =SK_ERROR_CHECK= is a convenient macro used that will |
| 806 | 817 | check an error code and exit if it is non-zero. |