Version 2.0.0-0

Public members

XSClassCallbackConstructor Reference

File
XSFoundation/include/XS/Types/XSClassCallbackConstructor.h
Author
Jean-David Gadina - www.xs-labs.com
Copyright
© (c) 2020 - Jean-David Gadina - www.xs-labs.com
Date
Sunday, September 27, 2020

Overview

XSClassCallbackConstructor type definition

Types

XSClassCallbackConstructor Top

Class constructor callback

typedef XSMutableObjectRef ( *XSClassCallbackConstructor )( XSMutableObjectRef object );

Discussion

The return value is usually 'object', but can be another object. If NULL is returned, the 'object' will be deallocated by the caller automatically.

Parameters
  • object
    The object beeing construct
Return value

The new object