Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libco/test/co_module_testing.c between version 1.2 and 1.3

version 1.2, 2003/02/21 09:00:37 version 1.3, 2003/02/23 17:39:24
Line 24  CO_OBJECT (person)
Line 24  CO_OBJECT (person)
 /* {{{ */  /* {{{ */
 CO_METH (person, getid)  CO_METH (person, getid)
 {  {
           int i;
         CO_METH_INI (person, getid);          CO_METH_INI (person, getid);
         CO_RETURN (int, CO_A (int, self, id));          i = CO_A (int, self, id);
           CO_DEBUG (1, "returning %d", i);
           CO_RETURN (int, i);
 }  }
 /* }}} */  /* }}} */
 /* {{{ */  /* {{{ */
Line 40  CO_METH (person, default)
Line 43  CO_METH (person, default)
 co __co_mod_init (co_super super)  co __co_mod_init (co_super super)
 {  {
         person ret;          person ret;
         __co_mod_init_co_module_testing_c (super);          __co_file_init_co_module_testing_c (super);
           CO_DEBUG (2, "will create person...");
           CO_DEBUG (2, "id of clone is %d", COM (clone));
         ret = person_new ();          ret = person_new ();
         ret -> id = 0xF0A42; // test value          ret -> id = 0xF0A42; // test value
         cox_pop (ret);          cox_pop (ret);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top