Changeset 03b2b2c in mainline for uspace/app/bithenge/transform.h


Ignore:
Timestamp:
2012-06-24T17:32:30Z (12 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d1a8fd
Parents:
da0fef6
Message:

Bithenge: add working but useless script parser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/transform.h

    rda0fef6 r03b2b2c  
    3838#define BITHENGE_TRANSFORM_H_
    3939
     40#include "blob.h"
    4041#include "tree.h"
    4142
     
    104105
    105106/** Decrement a transform's reference count.
    106  * @param xform The transform to dereference.
     107 * @param xform The transform to dereference, or NULL.
    107108 * @return EOK on success or an error code from errno.h. */
    108109static inline int bithenge_transform_dec_ref(bithenge_transform_t *xform)
    109110{
    110         assert(xform);
     111        if (!xform)
     112                return EOK;
    111113        assert(xform->ops);
    112114        if (--xform->refs == 0)
Note: See TracChangeset for help on using the changeset viewer.