Branch: Tag:

2002-05-29

2002-05-29 07:39:51 by Per Hedbor <ph@opera.com>

Added some documentation. Left todo is to somehow extract the information into the ref-doc

Rev: src/post_modules/Shuffler/a_source_pikestring.c:1.3
Rev: src/post_modules/Shuffler/a_source_system_memory.c:1.3

5:      #include <shuffler.h>    - /* $Id: a_source_system_memory.c,v 1.2 2002/05/29 05:47:12 per Exp $ */ + /* $Id: a_source_system_memory.c,v 1.3 2002/05/29 07:39:51 per Exp $ */    -  + /* Source: System.Memory +  * Argument: An initialized instance of the System.Memory class +  */   static struct program *shm_program;      struct sm_source
68:    return 0;    }    +  if( !res->mem->data || !res->mem->len ) +  { +  free(res); +  return 0; +  } +     res->s.free = free_source;    res->s.get_data = get_data;    res->obj = s->u.object;