2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 04:42:28 +00:00
Files
python/pyste/tests/templates.pyste
Bruno da Silva de Oliveira d52f0c7d40 - New tests
[SVN r18629]
2003-05-31 21:18:09 +00:00

9 lines
220 B
Plaintext

Point = Template('templates::Point', 'templates.h')
rename(Point.x, 'i')
rename(Point.y, 'j')
IPoint = Point('int')
FPoint = Point('double', 'FPoint')
rename(IPoint, 'IPoint')
rename(IPoint.x, 'x')
rename(IPoint.y, 'y')