Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOFunctionAttributes.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GCC_ATTR(x)
 
#define __has_feature(x)
 
#define __has_attribute(x)
 
#define __has_extension(x)
 
#define OOINLINE   static inline
 
#define ALWAYS_INLINE_FUNC   GCC_ATTR((always_inline))
 
#define PURE_FUNC   GCC_ATTR((pure))
 
#define CONST_FUNC   GCC_ATTR((const))
 
#define NONNULL_FUNC   GCC_ATTR((nonnull))
 
#define DEPRECATED_FUNC   GCC_ATTR((deprecated))
 
#define NO_RETURN_FUNC   GCC_ATTR((noreturn))
 
#define NO_INLINE_FUNC   GCC_ATTR((noinline))
 
#define INLINE_PURE_FUNC   ALWAYS_INLINE_FUNC PURE_FUNC
 
#define INLINE_CONST_FUNC   ALWAYS_INLINE_FUNC CONST_FUNC
 
#define DEPRECATED_MSG(msg)
 
#define DEPRECATED_METHOD(msg)
 
#define EXPECT(x)
 
#define EXPECT_NOT(x)
 
#define OO_RETURNS_RETAINED
 
#define OO_NS_CONSUMED
 
#define OO_UNREACHABLE()
 
#define OO_TAKES_FORMAT_STRING(stringIndex, firstToCheck)
 

Macro Definition Documentation

◆ __has_attribute

#define __has_attribute ( x)
Value:
(0)

Definition at line 20 of file OOFunctionAttributes.h.

◆ __has_extension

#define __has_extension ( x)
Value:
(0)

Definition at line 24 of file OOFunctionAttributes.h.

◆ __has_feature

#define __has_feature ( x)
Value:
(0)

Definition at line 16 of file OOFunctionAttributes.h.

◆ ALWAYS_INLINE_FUNC

#define ALWAYS_INLINE_FUNC   GCC_ATTR((always_inline))

Definition at line 36 of file OOFunctionAttributes.h.

◆ CONST_FUNC

#define CONST_FUNC   GCC_ATTR((const))

Definition at line 42 of file OOFunctionAttributes.h.

◆ DEPRECATED_FUNC

#define DEPRECATED_FUNC   GCC_ATTR((deprecated))

Definition at line 44 of file OOFunctionAttributes.h.

◆ DEPRECATED_METHOD

#define DEPRECATED_METHOD ( msg)

Definition at line 63 of file OOFunctionAttributes.h.

◆ DEPRECATED_MSG

#define DEPRECATED_MSG ( msg)
Value:

Definition at line 55 of file OOFunctionAttributes.h.

◆ EXPECT

◆ EXPECT_NOT

#define EXPECT_NOT ( x)
Value:
(x)

Definition at line 72 of file OOFunctionAttributes.h.

Referenced by AddCallback(), OOTimeProfileEntry(Private)::addSampleWithTotalTime:selfTime:, OOMeshToOctreeConverter::addTriangle:, ApplyColor(), bellf(), OOOpenGLExtensionManager(OOPrivate)::CheckRegExps, OOOpenGLExtensionManager(OOPrivate)::checkShadersSupported, ClockAddSeconds(), ClockClockStringForTime(), ConsoleGetProfile(), ConsoleProfile(), ConsoleTrace(), OOProfilingStopwatch::currentTime, OOJSTimer::dealloc, EnsureCorrectDataSize(), CollisionRegion::entityByEntityOcclusionToValue, EntityFromArgumentList(), EntityGetProperty(), EntitySetProperty(), EquipmentInfoGetProperty(), EquipmentInfoSetProperty(), Expand(), ExpandDigitKey(), ExpandKey(), ExpandSystemNameEscape(), ExpandSystemNameForGalaxyEscape(), FontMeasureString(), OOSunEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, GetJSSystemInfoForSystem(), GetRelativeToAndRange(), GLDrawBallBillboard(), GlobalAddFrameCallback(), GlobalClearExtraGuiScreenKeys(), GlobalGetGuiColorSettingForKey(), GlobalGetScreenBackgroundForKey(), GlobalIsValidFrameCallback(), GlobalLog(), GlobalRemoveFrameCallback(), GlobalSetColorSaturation(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalTakeSnapShot(), GrowCallbackList(), HPVectorToJSValue(), JSArrayFromNSArray(), JSFunctionPredicate(), JSObjectFromNSDictionary(), JSObjectGetQuaternion(), JSObjectGetVector(), JSQuaternionWithQuaternion(), JSValueToHPVector(), JSValueToQuaternion(), JSValueToVector(), JSVectorSetHPVector(), JSVectorWithHPVector(), JSVectorWithVector(), MissionAddMessageText(), MissionSetInstructionsInternal(), OOShipGroup(OOJavaScriptExtensions)::oo_clearJSSelf:, OOSound(OOJavaScriptExtentions)::oo_jsClassName, OOSoundSource(OOJavaScriptExtentions)::oo_jsClassName, OOAllocatePixMap(), HeadUpDisplay::OODrawStringQuadsAligned, OODuplicatePixMap(), OOExpandPixMap(), OOExtractPixMapChannel(), OOFreePixMap(), OOGenerateMipMaps(), OOJSArgumentListGetNumberNoError(), OOJSDictionaryFromJSObject(), OOJSDictionaryFromJSValue(), OOJSDictionaryFromStringTable(), OOJSDumpStack(), OOJSFrameCallbacksInvoke(), OOJSIDFromString(), OOJSInitJSIDCachePRIVATE(), OOJSObjectGetterImplPRIVATE(), OOJSProfileEnter(), OOJSStrLiteralCachePRIVATE(), OOLogAbbreviatedFileName(), OOLogWillDisplayMessagesInClass(), OOMatrixForBillboard(), OOPixMapAddPixMap(), OOPixMapModulatePixMap(), OOPixMapModulateUniform(), OOPixMapToRGBA(), OOResizePixMap(), OOScalePixMap(), OOShaderUniformTypeFromMethodSignature(), OOStringFromDeciCredits(), OOStringFromJSString(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipCancelDockingRequest(), PlayerShipDisengageAutopilot(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipLaunch(), PlayerShipRemoveAllCargo(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipUseSpecialCargo(), QuaternionConjugate(), QuaternionConstruct(), QuaternionDot(), QuaternionFromArgumentListNoErrorInternal(), QuaternionGetProperty(), QuaternionMultiply(), QuaternionNormalize(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionSetProperty(), QuaternionToArray(), QuaternionToJSValue(), QuaternionToSource(), QuaternionToString(), QuaternionVectorForward(), QuaternionVectorRight(), QuaternionVectorUp(), RemoveOrExplodeShip(), ReportJSError(), ScanTokensFromString(), ScriptWithCompiledData(), OOOctreeBuilder::SetNode_slow, ShipAddCargoEntity(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCheckScanner(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDumpCargo(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEnterWormhole(), ShipEquipmentStatus(), ShipExitAI(), ShipExitSystem(), ShipGetProperty(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupGetProperty(), ShipGroupRemoveShip(), ShipGroupSetProperty(), ShipHasEquipmentProviding(), ShipHasRole(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipReactToAIMessage(), ShipRemove(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveEquipment(), ShipRunLegacyScriptActions(), ShipSendAIMessage(), ShipSetAI(), ShipSetBounty(), ShipSetCargo(), ShipSetCargoType(), ShipSetEquipmentStatus(), ShipSetProperty(), ShipSetScript(), ShipSpawn(), ShipSwitchAI(), ShipThreatAssessment(), SoundGetProperty(), SoundSourceConstruct(), SoundSourcePlay(), SoundSourceStop(), SpecialJSWarning(), SqueezeVertically1(), SqueezeVertically2(), SqueezeVertically4(), StationCanDockShip(), StationDockPlayer(), StationLaunchShipWithRole(), StationSetMarketPrice(), StationSetMarketQuantity(), SunGetProperty(), SunGoNova(), SystemAddMoon(), SystemAddPlanet(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemInfoSamplePrice(), SystemInfoSetProperty(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLocationFromCode(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), TimerConstruct(), TimerGetProperty(), TimerSetProperty(), TimerStart(), TreeInsert(), VectorAdd(), VectorAngleTo(), VectorConstruct(), VectorCross(), VectorDirection(), VectorDistanceTo(), VectorDot(), VectorFromArgumentListNoErrorInternal(), VectorFromCoordinateSystem(), VectorGetProperty(), VectorMagnitude(), VectorMultiply(), VectorRotateBy(), VectorRotationTo(), VectorSetProperty(), VectorSquaredDistanceTo(), VectorSquaredMagnitude(), VectorStaticInterpolate(), VectorSubtract(), VectorToArray(), VectorToCoordinateSystem(), VectorToJSValue(), VectorToSource(), VectorToString(), VectorTripleProduct(), and VisualEffectScale().

◆ GCC_ATTR

#define GCC_ATTR ( x)

Definition at line 9 of file OOFunctionAttributes.h.

◆ INLINE_CONST_FUNC

#define INLINE_CONST_FUNC   ALWAYS_INLINE_FUNC CONST_FUNC

Definition at line 49 of file OOFunctionAttributes.h.

◆ INLINE_PURE_FUNC

#define INLINE_PURE_FUNC   ALWAYS_INLINE_FUNC PURE_FUNC

Definition at line 48 of file OOFunctionAttributes.h.

◆ NO_INLINE_FUNC

#define NO_INLINE_FUNC   GCC_ATTR((noinline))

Definition at line 46 of file OOFunctionAttributes.h.

◆ NO_RETURN_FUNC

#define NO_RETURN_FUNC   GCC_ATTR((noreturn))

Definition at line 45 of file OOFunctionAttributes.h.

◆ NONNULL_FUNC

#define NONNULL_FUNC   GCC_ATTR((nonnull))

Definition at line 43 of file OOFunctionAttributes.h.

◆ OO_NS_CONSUMED

#define OO_NS_CONSUMED

Definition at line 88 of file OOFunctionAttributes.h.

◆ OO_RETURNS_RETAINED

#define OO_RETURNS_RETAINED

Definition at line 80 of file OOFunctionAttributes.h.

◆ OO_TAKES_FORMAT_STRING

#define OO_TAKES_FORMAT_STRING ( stringIndex,
firstToCheck )

Definition at line 114 of file OOFunctionAttributes.h.

◆ OO_UNREACHABLE

#define OO_UNREACHABLE ( )
Value:
do {} while (0)

Definition at line 96 of file OOFunctionAttributes.h.

◆ OOINLINE

#define OOINLINE   static inline

Definition at line 31 of file OOFunctionAttributes.h.

◆ PURE_FUNC

#define PURE_FUNC   GCC_ATTR((pure))

Definition at line 41 of file OOFunctionAttributes.h.