qse/ase/stx/object.h

41 lines
1.0 KiB
C
Raw Normal View History

2005-05-06 17:18:29 +00:00
/*
2007-03-22 11:19:28 +00:00
* $Id: object.h,v 1.31 2007-03-22 11:19:28 bacon Exp $
2005-05-06 17:18:29 +00:00
*/
2007-03-22 11:19:28 +00:00
#ifndef _ASE_STX_OBJECT_H_
#define _ASE_STX_OBJECT_H_
2005-05-06 17:18:29 +00:00
2007-03-22 11:19:28 +00:00
#include <ase/stx/stx.h>
2005-05-06 17:18:29 +00:00
2005-05-08 07:39:51 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2007-03-22 11:19:28 +00:00
ase_word_t ase_stx_alloc_word_object (
ase_stx_t* stx, const ase_word_t* data, ase_word_t nfields,
const ase_word_t* variable_data, ase_word_t variable_nfields);
2005-07-04 11:32:41 +00:00
2007-03-22 11:19:28 +00:00
ase_word_t ase_stx_alloc_byte_object (
ase_stx_t* stx, const ase_byte_t* data, ase_word_t n);
2005-07-04 11:32:41 +00:00
2007-03-22 11:19:28 +00:00
ase_word_t ase_stx_alloc_char_object (
ase_stx_t* stx, const ase_char_t* str);
ase_word_t ase_stx_alloc_char_objectx (
ase_stx_t* stx, const ase_char_t* str, ase_word_t n);
ase_word_t ase_stx_allocn_char_object (ase_stx_t* stx, ...);
2005-05-10 08:21:10 +00:00
2007-03-22 11:19:28 +00:00
ase_word_t ase_stx_hash_object (ase_stx_t* stx, ase_word_t object);
2005-07-05 04:29:31 +00:00
2007-03-22 11:19:28 +00:00
ase_word_t ase_stx_instantiate (
ase_stx_t* stx, ase_word_t class_index, const void* data,
const void* variable_data, ase_word_t variable_nfields);
ase_word_t ase_stx_classof (ase_stx_t* stx, ase_word_t obj);
ase_word_t ase_stx_sizeof (ase_stx_t* stx, ase_word_t obj);
2005-07-13 14:42:27 +00:00
2005-05-15 18:37:00 +00:00
2005-05-08 07:39:51 +00:00
#ifdef __cplusplus
}
#endif
2005-05-06 17:18:29 +00:00
#endif