2005-05-06 17:18:29 +00:00
|
|
|
/*
|
2005-07-05 11:15:51 +00:00
|
|
|
* $Id: object.h,v 1.25 2005-07-05 11:15:51 bacon Exp $
|
2005-05-06 17:18:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XP_STX_OBJECT_H_
|
|
|
|
#define _XP_STX_OBJECT_H_
|
|
|
|
|
2005-05-08 07:39:51 +00:00
|
|
|
#include <xp/stx/stx.h>
|
2005-05-06 17:18:29 +00:00
|
|
|
|
2005-05-08 07:39:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-07-05 06:26:33 +00:00
|
|
|
xp_word_t xp_stx_alloc_word_object (
|
2005-07-05 09:02:13 +00:00
|
|
|
xp_stx_t* stx, const xp_word_t* data, xp_word_t nfields,
|
|
|
|
const xp_word_t* variable_data, xp_word_t variable_nfields);
|
2005-07-04 11:32:41 +00:00
|
|
|
|
|
|
|
xp_word_t xp_stx_alloc_byte_object (
|
|
|
|
xp_stx_t* stx, const xp_byte_t* data, xp_word_t n);
|
|
|
|
|
2005-06-08 16:05:41 +00:00
|
|
|
xp_word_t xp_stx_alloc_char_object (
|
|
|
|
xp_stx_t* stx, const xp_char_t* str);
|
|
|
|
xp_word_t xp_stx_alloc_char_objectx (
|
|
|
|
xp_stx_t* stx, const xp_char_t* str, xp_word_t n);
|
|
|
|
xp_word_t xp_stx_allocn_char_object (xp_stx_t* stx, ...);
|
2005-05-10 08:21:10 +00:00
|
|
|
|
2005-07-05 09:52:00 +00:00
|
|
|
xp_word_t xp_stx_hash_object (xp_stx_t* stx, xp_word_t object);
|
2005-07-05 04:29:31 +00:00
|
|
|
|
|
|
|
xp_word_t xp_stx_instantiate (
|
2005-07-05 09:02:13 +00:00
|
|
|
xp_stx_t* stx, xp_word_t class_index, const void* data,
|
|
|
|
const void* variable_data, xp_word_t variable_nfields);
|
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
|