Chameleon

Chameleon Commit Details

Date:2014-10-23 08:31:31 (4 years 9 months ago)
Author:Chuck Fry
Commit:2451
Parents: 2450
Message:Make 'buffer' arg to aml_add_buffer 'const char *', was just 'char *'
Changes:
M/branches/chucko/i386/libsaio/aml_generator.h
M/branches/chucko/i386/libsaio/aml_generator.c

File differences

branches/chucko/i386/libsaio/aml_generator.c
8585
8686
8787
88
88
8989
9090
9191
free(node);
}
AML_CHUNK* aml_add_buffer(AML_CHUNK* parent, char* buffer, uint32_t size)
AML_CHUNK* aml_add_buffer(AML_CHUNK* parent, const char* buffer, uint32_t size)
{
AML_CHUNK* node = aml_create_node(parent);
branches/chucko/i386/libsaio/aml_generator.h
7777
7878
7979
80
80
8181
8282
8383
bool aml_add_to_parent(AML_CHUNK* parent, AML_CHUNK* node);
AML_CHUNK* aml_create_node(AML_CHUNK* parent);
void aml_destroy_node(AML_CHUNK* node);
AML_CHUNK* aml_add_buffer(AML_CHUNK* parent, char* buffer, uint32_t size);
AML_CHUNK* aml_add_buffer(AML_CHUNK* parent, const char* buffer, uint32_t size);
AML_CHUNK* aml_add_byte(AML_CHUNK* parent, uint8_t value);
AML_CHUNK* aml_add_word(AML_CHUNK* parent, uint16_t value);
AML_CHUNK* aml_add_dword(AML_CHUNK* parent, uint32_t value);

Archive Download the corresponding diff file

Revision: 2451