[pygccxml-commit] SF.net SVN: pygccxml: [1069] pyplusplus_dev/unittests/unicode_bug.py
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2007-06-21 19:06:54
|
Revision: 1069 http://svn.sourceforge.net/pygccxml/?rev=1069&view=rev Author: roman_yakovenko Date: 2007-06-21 12:06:55 -0700 (Thu, 21 Jun 2007) Log Message: ----------- adding initial support to unicode Added Paths: ----------- pyplusplus_dev/unittests/unicode_bug.py Added: pyplusplus_dev/unittests/unicode_bug.py =================================================================== --- pyplusplus_dev/unittests/unicode_bug.py (rev 0) +++ pyplusplus_dev/unittests/unicode_bug.py 2007-06-21 19:06:55 UTC (rev 1069) @@ -0,0 +1,22 @@ +# -*- coding: UTF-8 -*- + +import os +import unittest +import autoconfig +from pygccxml import parser +from pygccxml import declarations +from pyplusplus import code_creators +from pyplusplus import module_creator +from pyplusplus import module_builder +from pyplusplus import utils as pypp_utils +from pyplusplus import function_transformers as ft + + +mb = module_builder.module_builder_t( + [ module_builder.create_text_fc( 'struct x{};' ) ] + , gccxml_path=autoconfig.gccxml.executable + , encoding='UTF-8') + +mb.build_code_creator( module_name='unicode_bug' ) +mb.code_creator.license = "//абвгдеёжзийклмнопрстуфхцчшщъыьэюя" +mb.write_module( os.path.join( autoconfig.build_dir, 'unicode_bug.cpp' ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |