a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » AddNamedObject

NAME

	AddNamedObject -- add a named object to the given namespace. (V39)

SYNOPSIS

	success = AddNamedObject(nameSpace, object);
D0 A0 A1
BOOL AddNamedObject(struct NamedObject *, struct NamedObject *);

FUNCTION

	Adds a new item to a NameSpace.  If the NameSpace doesn't support
duplicate names, a search for a duplicate will be made, and
0 (failure) will be returned. Otherwise, the entry will be
Enqueue()ed to the NameSpace.

INPUTS

	nameSpace - the name space to add to (NULL for root namespace)
object - the object to add (If NULL, will return failure)

RESULT

	success - whether the operation succeeded.  Check this always!

SEE ALSO

AttemptRemNamedObject(), RemNamedObject()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Andromeda

AOA
PHA
SNT
PDX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se