/tutorial/external/C++/Bar.h
http://github.com/tybor/Liberty · C Header · 23 lines · 12 code · 10 blank · 1 comment · 0 complexity · 58c29522e06c7e6e19bf7f057179dce1 MD5 · raw file
- // Basic C++ class to test the Liberty Eiffel C++ interface
- class Bar {
- public:
- char character_attribute;
- double double_attribute;
- Bar (char c) {
- character_attribute = c;
- }
- char get_character ();
- double get_double ();
- static void do_print (int i);
- static char do_print_and_return (int i);
- };