Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
5afc3ef4
Commit
5afc3ef4
authored
Apr 29, 2014
by
yoogx
Browse files
* Documentation write-up
parent
27751aae
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/runtime/python/ocarina.py
View file @
5afc3ef4
...
...
@@ -27,7 +27,11 @@ def status ():
################################################################################
def
reset
():
'''Reset Ocarina'''
'''Reset Ocarina internal state
**Note:** this function must be called before processing a new set of models.
'''
libocarina_python
.
reset
();
################################################################################
...
...
@@ -61,8 +65,8 @@ def instantiate (root_system):
################################################################################
Backends
=
Enum
([
"polyorb_hi_ada"
,
"polyorb_hi_c"
]);
'''
S
upported backends'''
# Note, this list should match backend names as specifi
c in
Ocarina CLI
'''
List of s
upported backends
, used by :data:`generate`
'''
# Note, this list should match backend names as specifi
ed by
Ocarina CLI
def
generate
(
generator
):
'''Generate code
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment