|
@@ -1704,11 +1704,15 @@ bool TypeManager::IsLocal(CPPType *in_type)
|
|
|
// A local means it was compiled in this scope of work..
|
|
// A local means it was compiled in this scope of work..
|
|
|
// IE a should actualy generate code for this objects....
|
|
// IE a should actualy generate code for this objects....
|
|
|
CPPType *base_type = resolve_type(unwrap(in_type));
|
|
CPPType *base_type = resolve_type(unwrap(in_type));
|
|
|
|
|
+ if (base_type->_forcetype) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- if(base_type->_file._source == CPPFile::S_local && !base_type->is_incomplete())
|
|
|
|
|
- return true;
|
|
|
|
|
|
|
+ if (base_type->_file._source == CPPFile::S_local && !base_type->is_incomplete()) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- return false;
|
|
|
|
|
|
|
+ return false;
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
|
|
|