Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/virtual.c

    r8f910430 recfd758  
    1010// Created On       : Tus Jul 11 15:10:00 2017
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Mon May 17 11:01:00 2021
    13 // Update Count     : 2
     12// Last Modified On : Wed Jul 26 14:24:00 2017
     13// Update Count     : 1
    1414//
    1515
     
    1717#include "assert.h"
    1818
    19 int __cfavir_is_parent(
    20                 __cfavir_type_id parent,
    21                 __cfavir_type_id child ) {
     19int __cfa__is_parent( struct __cfa__parent_vtable const * parent,
     20        struct __cfa__parent_vtable const * child ) {
    2221        assert( child );
    2322        do {
     
    2928}
    3029
    31 void * __cfavir_virtual_cast(
    32                 __cfavir_type_id parent,
    33                 __cfavir_type_id const * child ) {
     30void * __cfa__virtual_cast( struct __cfa__parent_vtable const * parent,
     31        struct __cfa__parent_vtable const * const * child ) {
    3432        assert( child );
    35         return (__cfavir_is_parent(parent, *child)) ? (void *)child : (void *)0;
     33        return (__cfa__is_parent(parent, *child)) ? (void *)child : (void *)0;
    3634}
Note: See TracChangeset for help on using the changeset viewer.