create

Creates a new DustLocalState instance with default parameters.

Error Handling: Returns null if:

  • Native library not loaded

  • Native function returns 0 (allocation failure)

Important: The returned instance MUST be closed when done to prevent memory leaks.

Return

New DustLocalState instance, or null on error