Changeset 39

Show
Ignore:
Timestamp:
03/08/07 15:56:37 (2 years ago)
Author:
inz
Message:

Make blog_ref return the ref'd blog.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • blog-service/trunk/blog.c

    r35 r39  
    3232} 
    3333 
    34 void blog_ref(Blog *blog) { 
     34Blog *blog_ref(Blog *blog) { 
    3535        blog->refcount++; 
     36        return blog; 
    3637} 
    3738 
  • blog-service/trunk/blog.h

    r35 r39  
    4646void blog_category_free(BlogCategory *category); 
    4747Blog *blog_new(void); 
    48 void blog_ref(Blog *blog); 
     48Blog *blog_ref(Blog *blog); 
    4949void blog_unref(Blog *blog); 
    5050