jv_cface.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 17 Sep 2015 07:36:40 +0100
changeset 49 307d55f736ec
parent 45 86de1611e013
permissions -rw-r--r--
LLVM bindings: allow to specify path to llvm-config ..by setting LLVM_CONFIG variable when generating definitions for LLVM bindings. Example: make LVM_CONFIG=~/Projects/LLVM/sources1/build/Debug+Asserts/bin/llvm-config
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
     1
"{ Package: 'jv:cface' }"
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
40
7d1e77b6115e Renamed CUserDefinedTypeNode to CUnresolvedTypeNode.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 34
diff changeset
     3
"{ NameSpace: Smalltalk }"
7d1e77b6115e Renamed CUserDefinedTypeNode to CUnresolvedTypeNode.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 34
diff changeset
     4
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
     5
LibraryDefinition subclass:#jv_cface
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
	instanceVariableNames:''
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
	classVariableNames:''
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
	poolDictionaries:''
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
	category:'* Projects & Packages *'
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
!
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
10
8087158409e4 Fixed namespace and class generation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 9
diff changeset
    12
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
    13
!jv_cface class methodsFor:'description'!
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
34
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    15
mandatoryPreRequisites
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    16
    "list packages which are mandatory as a prerequisite.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    17
     This are packages containing superclasses of my classes and classes which
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    18
     are extended by myself.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    19
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    20
     This method is generated automatically,
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    21
     by searching along the inheritance chain of all of my classes."
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    22
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    23
    ^ #(
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    24
        #'stx:goodies/smaCC'    "SmaCC::SmaCCParser - superclass of Cface::CDefinitionParser"
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    25
        #'stx:libbasic'    "LibraryDefinition - superclass of jv_cface"
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    26
    )
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    27
!
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    28
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
preRequisites
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    30
    "list all required packages.
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    31
     This list can be maintained manually or (better) generated and
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    32
     updated by scanning the superclass hierarchies and looking for
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    33
     global variable accesses. (the browser has a menu function for that)
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    34
     Howevery, often too much is found, and you may want to explicitely
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    35
     exclude individual packages in the #excludedFromPrerequisites method."
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    36
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
    ^ #(
22
57da23a9fbbd - Cface::Libgit2Mapping
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 18
diff changeset
    38
        #'stx:goodies/smaCC'    "SmaCC::SmaCCScanner - superclass of Cface::CDefinitionScanner "
24
e7afa531abcf Some fixes for libgit2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 22
diff changeset
    39
        #'stx:libbasic'    "Object - superclass of Cface::CDerivedTypeNode "
e7afa531abcf Some fixes for libgit2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 22
diff changeset
    40
        #'stx:libbasic3'    "Change - superclass of extended ClassChange "
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
    )
34
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    42
!
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    43
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    44
referencedPreRequisites
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    45
    "list packages which are a prerequisite, because they contain
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    46
     classes which are referenced by my classes.
43
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    47
     We do not need these packages as a prerequisite for compiling or loading,
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    48
     however, a class from it may be referenced during execution and having it
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    49
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    50
     includes explicit checks for the package being present.
34
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    51
     This method is generated automatically,
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    52
     by searching all classes (and their packages) which are referenced by my classes."
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    53
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    54
    ^ #(
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    55
        #'stx:libbasic3'    "ChangeSet - referenced by Cface::Generator>>initialize"
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    56
    )
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    57
!
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    58
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    59
subProjects
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    60
    "list packages which are known as subprojects.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    61
     The generated makefile will enter those and make there as well.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    62
     However: they are not forced to be loaded when a package is loaded;
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    63
     for those, redefine requiredPrerequisites."
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    64
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    65
    ^ #(
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
    66
    )
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    67
! !
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
    69
!jv_cface class methodsFor:'description - contents'!
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
classNamesAndAttributes
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    72
    "lists the classes which are to be included in the project.
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    73
     Each entry in the list may be: a single class-name (symbol),
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    74
     or an array-literal consisting of class name and attributes.
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
    75
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
43
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    76
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    77
    ^ #(
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    78
        "<className> or (<className> attributes...) in load order"
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    79
        #'Cface::CDefinitionParser'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    80
        #'Cface::CDefinitionScanner'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    81
        #'Cface::CNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    82
        #'Cface::CNodeVisitor'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    83
        #'Cface::GeneratorCommand'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    84
        #'Cface::Platform'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    85
        #'Cface::TypeMapping'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    86
        #'jv_cface'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    87
        #'Cface::CDefinitionNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    88
        #'Cface::CModifierNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    89
        #'Cface::CNoNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    90
        #'Cface::CairoMapping'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    91
        #'Cface::GTKMapping'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    92
        #'Cface::Generator'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    93
        #'Cface::LLVM_C'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    94
        #'Cface::Libgit2Mapping'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    95
        #'Cface::SVNMapping'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    96
        #'Cface::SmalltalkX'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    97
        #'Cface::TypeCollector'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    98
        #'Cface::TypeMapper'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
    99
        #'Cface::TypeResolver'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   100
        #'Cface::CArgumentNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   101
        #'Cface::CConstNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   102
        #'Cface::CDefinitionFileNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   103
        #'Cface::CEnumValueNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   104
        #'Cface::CFunctionNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   105
        #'Cface::CLongNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   106
        #'Cface::CShortNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   107
        #'Cface::CStructFieldNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   108
        #'Cface::CTypeNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   109
        #'Cface::CUnsignedNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   110
        #'Cface::LLVM_C_EXT'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   111
        #'Cface::SmalltalkXGenerator'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   112
        #'Cface::CArrayNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   113
        #'Cface::CBuiltinNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   114
        #'Cface::CDerivedTypeNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   115
        #'Cface::CPointerNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   116
        #'Cface::CUnresolvedTypeNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   117
        #'Cface::CCharNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   118
        #'Cface::CDoubleNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   119
        #'Cface::CEnumNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   120
        #'Cface::CFloatNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   121
        #'Cface::CFunctionTypeNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   122
        #'Cface::CIntNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   123
        #'Cface::CStructuredNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   124
        #'Cface::CTypedefNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   125
        #'Cface::CVoidNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   126
        #'Cface::CWCharNode'
45
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 43
diff changeset
   127
        #'Cface::CBoolNode'
43
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   128
        #'Cface::CStructNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   129
        #'Cface::CUnionNode'
9327987437ae Added mappings for LLVM C and LLVM C Extensions
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 40
diff changeset
   130
    )
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   131
!
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   132
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   133
extensionMethodNames
34
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
   134
    "list class/selector pairs of extensions.
834ca32d06b2 Minor fixes here and there (mainly because of Cairo bindings)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 33
diff changeset
   135
     A correponding method with real names must be present in my concrete subclasses"
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   136
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   137
    ^ #(
24
e7afa531abcf Some fixes for libgit2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 22
diff changeset
   138
        Stream tab4
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   139
    )
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   140
! !
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   141
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
   142
!jv_cface class methodsFor:'description - project information'!
7
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   143
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   144
companyName
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   145
    "Return a companyname which will appear in <lib>.rc"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   146
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   147
    ^ 'CVUT FEL'
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   148
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   149
    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   150
!
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   151
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   152
description
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   153
    "Return a description string which will appear in vc.def / bc.def"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   154
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   155
    ^ 'Cairo graphics binding'
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   156
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   157
    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   158
!
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   159
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   160
legalCopyright
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   161
    "Return a copyright string which will appear in <lib>.rc"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   162
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   163
    ^ 'Copyright 2008 Jan Vrany'
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   164
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   165
    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   166
!
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   167
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   168
productName
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   169
    "Return a product name which will appear in <lib>.rc"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   170
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   171
    ^ 'CairoGraphics'
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   172
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   173
    "Created: / 08-09-2008 / 23:49:09 / Jan Vrany <vranyj1@fel.cvut.cz>"
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   174
! !
75608e40c6da Added missing project definition file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   175
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
   176
!jv_cface class methodsFor:'description - svn'!
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   177
15
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   178
svnRepositoryUrlString
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   179
    "Return a SVN repository URL of myself.
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   180
     (Generated since 2011-04-08)
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   181
    "        
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   182
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   183
    ^ '$URL$'
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   184
!
e873065959dc Fiew fixes, needs to be updated for newer GCC-XML
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 14
diff changeset
   185
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   186
svnRevisionNr
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   187
    "Return a SVN revision number of myself.
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   188
     This number is updated after a commit"
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   189
18
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16
diff changeset
   190
    ^ "$SVN-Revision:"'17'"$"
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   191
! !
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   192
32
d7464405cbda Package renamed from cvut:fel/cface to jv:cface
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 24
diff changeset
   193
!jv_cface class methodsFor:'documentation'!
10
8087158409e4 Fixed namespace and class generation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 9
diff changeset
   194
8087158409e4 Fixed namespace and class generation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 9
diff changeset
   195
version
8087158409e4 Fixed namespace and class generation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 9
diff changeset
   196
    ^'$Id$'
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   197
!
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   198
33
f87d54770abe Minor fixes for recent Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 32
diff changeset
   199
version_HG
f87d54770abe Minor fixes for recent Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 32
diff changeset
   200
    ^ '$Changeset: <not expanded> $'
f87d54770abe Minor fixes for recent Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 32
diff changeset
   201
!
f87d54770abe Minor fixes for recent Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 32
diff changeset
   202
14
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   203
version_SVN
1f730d82496e Added version_SVN methods
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 13
diff changeset
   204
    ^ '$Id$'
10
8087158409e4 Fixed namespace and class generation
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 9
diff changeset
   205
! !
33
f87d54770abe Minor fixes for recent Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 32
diff changeset
   206