Author image Marvin Humphrey
and 1 contributors

NAME

Clownfish::Binding::Core::Class - Generate core C code for a class.

DESCRIPTION

Clownfish::Class is an abstract specification for a class. This module autogenerates the C code with implements that specification.

METHODS

new

    my $class_binding = Clownfish::Binding::Core::Class->new(
        client => $class,
    );

to_c_header

Return the .h file which contains autogenerated C code defining the class's interface: all method invocation functions, etc...

to_c

Return the .c file which contains autogenerated C code necessary for the class to function properly.

COPYRIGHT AND LICENSE

Copyright 2008-2010 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.