Changes

Jump to navigation Jump to search
47 bytes added ,  21:17, 5 January 2012
m
Line 266: Line 266:     
Ghost utilities:
 
Ghost utilities:
 +
 +
<syntaxhighlight lang="c">
 
  typedef struct naGhostType {
 
  typedef struct naGhostType {
 
     void(*destroy)(void*);
 
     void(*destroy)(void*);
Line 274: Line 276:  
  void*        naGhost_ptr(naRef ghost);
 
  void*        naGhost_ptr(naRef ghost);
 
  int          naIsGhost(naRef r);
 
  int          naIsGhost(naRef r);
 +
</syntaxhighlight>
    
This needs to be specifically implemented for each new "ghost" type.
 
This needs to be specifically implemented for each new "ghost" type.

Navigation menu