mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 09:10:48 +01:00
[Sequence & Shared] Changed the location of various files
Moved sequences files to shared in order to allow the system to compile without the app sequence. Change-Id: Ia8349814a72776244acc41af964059f24e58cff0
This commit is contained in:
committed by
Émilie Feral
parent
ed358590ce
commit
c006ed7b10
@@ -1,8 +1,8 @@
|
||||
#include <quiz.h>
|
||||
#include "../continuous_function.h"
|
||||
#include "../../graph/continuous_function_store.h"
|
||||
#include "../../sequence/sequence.h"
|
||||
#include "../../sequence/sequence_store.h"
|
||||
#include "../sequence.h"
|
||||
#include "../sequence_store.h"
|
||||
|
||||
namespace Shared {
|
||||
|
||||
@@ -14,12 +14,12 @@ void interactWithBaseRecordMember(F * fct) {
|
||||
(void) color; // Silence compilation warning about unused variable.
|
||||
}
|
||||
|
||||
void interactWithRecordMember(Sequence::SequenceStore * store, Ion::Storage::Record rec) {
|
||||
Sequence::Sequence * seq = store->modelForRecord(rec);
|
||||
void interactWithRecordMember(SequenceStore * store, Ion::Storage::Record rec) {
|
||||
Sequence * seq = store->modelForRecord(rec);
|
||||
/* Setting Sequence type will write record member m_initialConditionSizes,
|
||||
* which has a 2-byte alignment */
|
||||
seq->setType(Sequence::Sequence::Type::SingleRecurrence);
|
||||
interactWithBaseRecordMember<Sequence::Sequence>(seq);
|
||||
seq->setType(Sequence::Type::SingleRecurrence);
|
||||
interactWithBaseRecordMember<Sequence>(seq);
|
||||
}
|
||||
|
||||
void interactWithRecordMember(Graph::ContinuousFunctionStore * store, Ion::Storage::Record rec) {
|
||||
@@ -73,7 +73,7 @@ QUIZ_CASE(alignment_handling) {
|
||||
* properly. It also ensures that the right test - load and store of
|
||||
* differently-aligned objects - is performed (if storage/record
|
||||
* implementations change for instance). */
|
||||
testAlignmentHandlingFor<Sequence::SequenceStore>();
|
||||
testAlignmentHandlingFor<SequenceStore>();
|
||||
testAlignmentHandlingFor<Graph::ContinuousFunctionStore>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user