>If there aren't any guides, then some sample code would be much appreciated

I can give you some samples for creating an object and adding members, but I
haven't added any member functions, but this shouldn't be more difficult, I

    if (object_init(return_value) != SUCCESS) {
        zend_error(E_ERROR, "dbx: unable to create resulting object...");
    zend_hash_update(return_value->value.obj.properties, "handle", 7, (void
*)&(rv_dbx_result_handle), sizeof(zval *), NULL);
    add_property_long(return_value, "rows", row_count);

zend_hash_update can be used vor zval that are already allocated etc.,
add_property_* for other values

Hope this helps!

Cheerio, Marc.

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to