diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:05:06 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:05:06 +0000 |
| commit | a57841ce69d85d6012f3faea349b46be0d06592f (patch) | |
| tree | 61f9ba925c6b2b1e032e69d0775ea1aa553e75f4 /bindings/python/examples | |
| parent | dfb0b91ed6d3c85aa7764de75d2e5298ed93ba22 (diff) | |
| download | lasso-a57841ce69d85d6012f3faea349b46be0d06592f.tar.gz lasso-a57841ce69d85d6012f3faea349b46be0d06592f.tar.xz lasso-a57841ce69d85d6012f3faea349b46be0d06592f.zip | |
Core: add new internal macro lasso_extract_node_or_fail
* lasso/utils.h:
this new macro try to extract a field from a structre (or any
left-hand-side value), try to typecheck it using 'LASSO_IS_XXX',
if succesfull, the value is assigned to the variable given as first
argument or we jump to the 'cleanup' goto label, setting the 4th
argument as the current error code (value of variable 'rc').
Diffstat (limited to 'bindings/python/examples')
0 files changed, 0 insertions, 0 deletions
