Changeset 12550 in project


Ignore:
Timestamp:
11/17/08 16:12:32 (13 years ago)
Author:
svnwiki
Message:

Changes applied for AndreKuehne? (83.135.7.47) through svnwiki:

add missing header; always use "value:" in synopsis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/easyffi

    r12549 r12550  
    347347==== abstract
    348348
    349  abstract [values: <string>]
     349 abstract [value: <string>]
    350350
    351351Marks the C++ class given in {{<string>}} as being abstract, i.e. no constructor will be defined. Alternatively, a class definition may be prefixed with {{___abstract}}.
     
    353353==== class_finalizers
    354354
    355  class_finalizers [values: yes, no]
     355 class_finalizers [value: yes, no]
    356356
    357357Automatically generates calls to {{set-finalizer!}} so that any unused references to instances of subsequently defined C++ class wrappers will be destroyed. This should be used with care: if the embedded C++ object which is represented by the reclaimed TinyCLOS instance is still in use in foreign code, then unpredictable things will happen.
     
    359359==== mutable_fields
    360360
    361  mutable_fields [values: yes, no]
     361 mutable_fields [value: yes, no]
    362362
    363363Specifies that all struct or union fields should generate setter procedures (the default is to generate only setter procedures for fields declared {{___mutable}}).
     
    365365==== destructor_name
    366366
    367  destructor_name [values: <string>]
     367 destructor_name [value: <string>]
    368368
    369369Specifies an alternative name for destructor methods (the default is {{destroy}}.
     
    371371==== export_constants
    372372
    373  export_constants [values: yes (default), no]
     373 export_constants [value: yes (default), no]
    374374
    375375Define a global variable for constant-declarations (as with {{#define}} or {{enum}}), making the constant available outside the current compilation unit. Use the values {{yes}}/{{1}} for switching constant export on, or {{no}}/{{0}} for switching it off.
     
    377377==== exception_handler
    378378
    379  exception_handler [values: <string>]
     379 exception_handler [value: <string>]
    380380
    381381Defines C++ code to be executed when an exception is triggered inside a C++ class member function. The code should be one or more {{catch}} forms that perform any actions that should be taken in case an exception is thrown by the wrapped member function:
     
    398398==== full_specialization
    399399
    400  full_specialization [values: yes, no]
     400 full_specialization [value: yes, no]
    401401
    402402Enables ''full specialization'' mode. In this mode all wrappers for functions, member functions and static member functions are created as fully specialized TinyCLOS methods. This can be used to handle overloaded C++ functions properly. Only a certain set of foreign argument types can be mapped to TinyCLOS classes, as listed in the following table:
     
    447447==== prefix
    448448
    449  prefix [values: <string>]
     449 prefix [value: <string>]
    450450
    451451Sets a prefix that should be be added to all generated Scheme identifiers. For example
     
    490490==== transform
    491491
    492  transform [values: <string>]
     492 transform [value: <string>]
    493493
    494494Defines an arbitrary transformation procedure for names that match a given regular expression. The value should be a string containing a regular expression and a Scheme expression that evaluates to a procedure of one argument. If the regex matches, the procedure will be called at compile time with the match-result (as returned by {{string-match}}) and should return a string with the desired transformations applied:
     
    503503 
    504504 (print (FOO-bar 33))
     505
     506==== default_renaming
    505507
    506508 default_renaming [value: <string>]
Note: See TracChangeset for help on using the changeset viewer.