mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
|
|
## vim: ft=makopython
|
||
|
|
|
||
|
|
_get_internal_unit = _import_func(
|
||
|
|
'foo_get_internal_unit',
|
||
|
|
[AnalysisContext._c_type], AnalysisUnit._c_type
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
def _get_internal_unit_method(self):
|
||
|
|
c_value = _get_internal_unit(self._c_value)
|
||
|
|
return AnalysisUnit._wrap(c_value)
|
||
|
|
|
||
|
|
|
||
|
|
AnalysisContext.get_internal_unit = property(_get_internal_unit_method)
|