Scroll to navigation

practcl(3tcl) The The Proper Rational API for C to Tool Command Language Module practcl(3tcl)


NAME

practcl - The Practcl Module

SYNOPSIS

package require TclOO 1.0

package require practcl 0.11

CPUTS varname body ?body...?

practcl::_isdirectory path

practcl::object parent ?keyvaluelist?

practcl::library ?keyvaluelist?

practcl::exe ?keyvaluelist?

practcl::product parent ?keyvaluelist?

practcl::cheader parent ?keyvaluelist?

practcl::csource parent ?keyvaluelist?

practcl::module parent ?keyvaluelist?

practcl::submodule parent ?keyvaluelist?


DESCRIPTION

The Practcl module is a tool for integrating large modules for C API Tcl code that requires custom Tcl types and TclOO objects.

COMMANDS

CPUTS varname body ?body...?
Appends blocks of text to a buffer. This command tries to reduce the number of line breaks between bodies.
practcl::_isdirectory path
Returns true if path is a directory, using the test
practcl::object parent ?keyvaluelist?
A generic Practcl object
practcl::library ?keyvaluelist?
A Practcl object representing a library container
practcl::exe ?keyvaluelist?
A Practcl object representing a wrapped executable
practcl::product parent ?keyvaluelist?
A Practcl object representing a compiled product
practcl::cheader parent ?keyvaluelist?
A Practcl object representing an externally generated c header
practcl::csource parent ?keyvaluelist?
A Practcl object representing an externally generated c source file
practcl::module parent ?keyvaluelist?
A Practcl object representing a dynamically generated C/H/Tcl suite
practcl::submodule parent ?keyvaluelist?
A Practcl object representing a dynamically generated C/H/Tcl suite, subordinate to a module

BUGS, IDEAS, FEEDBACK

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category practcl of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.

KEYWORDS

practcl

CATEGORY

TclOO

COPYRIGHT

Copyright (c) 2016-2018 Sean Woods <yoda@etoyoc.com>
0.11 tcllib