Browse Source

Fix TR_INSTANCE initialization

1.0.0
Georg Hopp 10 years ago
parent
commit
8a5790ed5c
  1. 4
      src/remote_data.c

4
src/remote_data.c

@ -58,6 +58,8 @@ remoteDataDtor(void * _this) {
TR_INIT_IFACE(TR_Class, remoteDataCtor, remoteDataDtor, NULL);
TR_CREATE_CLASS(TR_RemoteData, TR_SizedData, NULL, TR_IF(TR_Class));
TR_INSTANCE(TR_RemoteData, TR_emptyRemoteData, { NULL, 0 }, NULL);
TR_INSTANCE(
TR_RemoteData, TR_emptyRemoteData,
.remote = NULL, .free_remote = 0 );
// vim: set ts=4 sw=4:
Loading…
Cancel
Save