[ 
https://issues.apache.org/jira/browse/LUCY-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755247#action_12755247
 ] 

Marvin Humphrey commented on LUCY-41:
-------------------------------------

There are two Obj.c files attached to this issue.

  * trunk/core/Lucy/Object/Obj.c
  * trunk/perl/xs/Lucy/Object/Obj.c

The Perl-specific file inludes code for four methods left unimplemented in
the main Obj.c:

  * To_Host
  * Inc_RefCount
  * Dec_RefCount
  * Get_RefCount

Refcounting is handled by the somewhat elaborate scheme worked out on
lucy-dev: a union which is either an integer or a pointer to a cached host
object which, once it springs into being assumes responsibility for tracking
the refcount.

[http://mail-archives.apache.org/mod_mbox/lucene-lucy-dev/200903.mbox/%[email protected]%3e]


> Obj
> ---
>
>                 Key: LUCY-41
>                 URL: https://issues.apache.org/jira/browse/LUCY-41
>             Project: Lucy
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Blocker
>         Attachments: 019-obj.t, Obj.bp, Obj.c, Obj.c, Obj.pm, TestObj.bp, 
> TestObj.c
>
>
> Base class for all Lucy objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to