practcl - The The Proper Rational API for C to Tool Command Language Module

[ Tcllib Home | Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

# practcl(n) 0.11 tcllib "The The Proper Rational API for C to Tool Command Language Module"

## 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. 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 © 2016-2018 Sean Woods <yoda@etoyoc.com>