blob: 1c049d1adbc4a77ed8b4d94abfb9b2b101aa6c44 [file] [log] [blame]
The Subversion Object Model
---------------------------
Rules of thumb for translating Subverion's C header files
(subversion/include/svn_*.h) into a wrapper language's object model:
* Module functions and callbacks should be methods of an
interface/mix-in.
* Batons are opaque data structures, and can be represented as empty
interfaces or callable objects. Contexts are generally represented
as class state.
* In languages for which it is applicable, returned svn_error_t's
should be declared as thrown exceptions.