From 476bc961ae4c490dfa0f09293c5611451bb42599 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 28 Sep 2015 14:57:14 +0100 Subject: Allow empty classes --- README | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index f2a8bf3..4d08ff2 100644 --- a/README +++ b/README @@ -118,7 +118,7 @@ The binding file consists of three types of element: but without at least one the binding is not very useful as it will generate no output. - preface + preface This takes a cdata block. There may only be one of these per binding, subsequent directives will be ignored. @@ -160,6 +160,10 @@ The binding file consists of three types of element: private member variables are declared here and header and footer elements specific to this class. + Although not generally useful, because methods that reference a + class cause it to be implicitly created, empty definitions are + permitted. + private variables added to the private structure for the class. @@ -219,6 +223,54 @@ The binding file consists of three types of element: binding but they will almost certainly have to be translated into more suitable class names for generated output. + + preface + + The declarator for this method type need only identify the + class (an identifier may be provided but will be ignored). + + This takes a cdata block. There may only be one of these per + class, subsequent directives will be ignored. + + The preface is emitted in every generated source file after + the binding preface and tool preamble. + + + prologue + + The declarator for this method type need only identify the + class (an identifier may be provided but will be ignored). + + This takes a cdata block. There may only be one of these per + class, subsequent directives will be ignored. + + The prologue is emitted in every generated source file after + the binding prologue has been generated. + + + epilogue + + The declarator for this method type need only identify the + class (an identifier may be provided but will be ignored). + + This takes a cdata block. There may only be one of these per + class, subsequent directives will be ignored. + + The epilogue is emitted after the generated code and before + the binding epilogue + + + postface + + The declarator for this method type need only identify the + class (an identifier may be provided but will be ignored). + + This takes a cdata block. There may only be one of these per + class, subsequent directives will be ignored. + + The postface is emitted after the binding epilogue. + + init The declarator for this method type need only identify the -- cgit v1.2.3