8000 GitHub - djcb/rupert: GObject boilerplate generator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

djcb/rupert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Rupert, the GObject Boilerplate Generator

Introduction

GObjects implement a very useful object-system for the C programming language.

They are easy to use, but writing them can be a bit tedious due to the amount of boiler-plate code. So, it's only natural to create a little tool to do that for you.

Rupert

Rupert is Perl script that does just that. Rupert is not the first of its kind, but it is the one I'm currently using. It's named after Rupert the Monkey, a well-known character from the early days of the GNOME project.

Usage

Easy. Pass it the prefix and full name of the GObject you'd like to create.

cd rupert
./rupert.pl Funky FunkyMonkey

creates funky-monkey.c and funky-monkey.h, including some example methods, a property and a signal.

Of course, you must still understand GObject for this to be useful. But it saves some typing.

Licence

Rupert is released under the terms of the GPLv3, but the code it generates is not - you can put that under any license you want.

About

GObject boilerplate generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0