---
name: "class_destroy"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/class_destroy"
---

# class\_destroy(9)

destroys a struct class structure

## NAME

class\_destroy - destroys a struct class structure

## SYNOPSIS

**void class\_destroy(struct class \*** *cls***);**

## ARGUMENTS

*cls*

pointer to the struct class that is to be destroyed

## DESCRIPTION

Note, the pointer to be destroyed must have been created with a call to **class\_create**.

## COPYRIGHT
